CZDS
Project description
CZDS
What is CZDS?
Each Top Level Domain (TLD) is maintained by a registry operator, who also manages a publicly available list of Second Level Domains (SLDs) and the details needed to resolve those domain names to Internet Protocol (IP) addresses.
The registry operator’s zone data contains the mapping of domain names, associated name server names, and IP addresses for those name servers. These details are updated by the registry operator for its respective TLDs whenever information changes or a domain name is added or removed.
Each registry operator keeps its zone data in a text file called the Zone File which is updated once every 24 hours.
Features
- Retrieve Centralized Zone Transfer Files from root DNS servers hosted by ICAAN and other agencies
- Download one or all of the zone files and return data in multiple formats; text, json or a file (default)
- You can now retrieve zone files using multi-threading
Roadmap
The following are some of the features I am planning on adding but would love to hear everyones thoughts as well.
- Add ability to search based on domain and/or TLD
- This may include using algorithms like Levenshtein distance, confusables/idna characters, etc.
- Add ability to derive differences between zone files over time
- Add ability to retrieve other contextual external information like WHOIS
- Add ability to save/store data into a database
Requirements
- You need a CZDS account with ICAAN. You can sign-up here
- Internet access
Installation
You can install CZDS via pip from PyPI:
$ pip install czds
If you are using poetry
(recommended) you can add it to your package using
poetry add czds
Usage
Below is the command line reference but you can also use the current version of czds to retrieve the help by typing czds --help
.
NAME
czds - Main class for ICAAN CZDS.
SYNOPSIS
czds GROUP | VALUE | --username=USERNAME --password=PASSWORD --save_directory=SAVE_DIRECTORY
DESCRIPTION
Main class for ICAAN CZDS.
ARGUMENTS
USERNAME
Type: ~AnyStr
PASSWORD
Type: ~AnyStr
SAVE_DIRECTORY
Type: ~AnyStr
GROUPS
GROUP is one of the following:
BASE_HEADERS
links
VALUES
VALUE is one of the following:
AUTH_URL
BASE_URL
OUTPUT_FORMAT
PASSWORD
SAVE_PATH
THREAD_COUNT
USERNAME
connection
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
Developmemt
You can clone the repositry and begin development using
git clone https://github.com/MSAdministrator/czds.git
cd czds
poetry install
If you are using pyenv
to manage your enviroments you can set a config option in poetry to use the set pyenv version of python by running this:
poetry config virtualenvs.prefer-active-python true
poetry install
License
Distributed under the terms of the [MIT license][LICENSE.md], CZDS is free and open source software.
Security
Security concerns are a top priority for us, please review our Security Policy.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @MSAdministrator's Hypermodern Python Cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file czds-0.1.2.tar.gz
.
File metadata
- Download URL: czds-0.1.2.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.10 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25e92ac8035dbe4d004230f9f0a5d41a5b32352602020ac3be1f381a23fc898 |
|
MD5 | 586076acb012323fa929cacb9876f9d6 |
|
BLAKE2b-256 | 5a256fc07db53886e2486c831a3bb94f1ecaca106acafe3c3c6fe55e4be142a0 |
File details
Details for the file czds-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: czds-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.10 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9111c38fc5e40f64d7e2b5ac763fb6a4b27f52393815398260b13e1d7b0a4767 |
|
MD5 | 4b1a0384b1f7fe0aba8dfb37fdd70a9f |
|
BLAKE2b-256 | 6c3ca97daad2993c86e9134ef551bac42b2095b456b1edfb1b93784871f6f282 |