dnc

CLI tool to check domain names configuration and statistics
Log | Files | Refs | README | LICENSE

README.md (1759B)


      1 # dnc
      2 
      3 ## Description
      4 
      5 dnc (Domain Name Checker), is a CLI tool to check domain names configuration.
      6 
      7 ## Requirements
      8 
      9 dnc requires Python 3.5+ and the following Python modules:
     10 
     11 - Dnspython
     12 - PrettyTable
     13 - pyOpenSSL
     14 
     15 ## Usage
     16 
     17 	dnc [-46hmnsv] domain
     18 
     19 The options are as follows:
     20 
     21 	-4	Resolve and display A records (IPv4 addresses).
     22 	-6	Resolve and display AAAA records (IPv6 addresses).
     23 	-h	Display usage.
     24 	-m	Resolve and display MX records (Mail Exchange).
     25 	-n	Resolve and display NS records (Name Servers).
     26 	-s	Display SSL/TLS certificate expiration date.
     27 	-v	Display version.
     28 
     29 ## Example
     30 
     31 Here is the output of running dnc querying NS and A records, along with
     32 SSL certificate expiration date for two domains:
     33 
     34 ```
     35 $ dnc -n4s cambus.net toolchains.net
     36 +----------------+--------------------------+---------------+------------+
     37 | Domain         | NS                       | IPv4          | TLS        |
     38 +----------------+--------------------------+---------------+------------+
     39 | cambus.net     | oxygen.ns.hetzner.com.   | 116.203.5.115 | 2021-04-23 |
     40 |                | hydrogen.ns.hetzner.com. |               |            |
     41 |                | helium.ns.hetzner.de.    |               |            |
     42 +----------------+--------------------------+---------------+------------+
     43 | toolchains.net | oxygen.ns.hetzner.com.   | 116.203.5.115 | 2021-04-23 |
     44 |                | helium.ns.hetzner.de.    |               |            |
     45 |                | hydrogen.ns.hetzner.com. |               |            |
     46 +----------------+--------------------------+---------------+------------+
     47 ```
     48 
     49 ## License
     50 
     51 dnc is released under the BSD 2-Clause license. See `LICENSE` file for details.
     52 
     53 ## Author
     54 
     55 dnc is developed by Frederic Cambus.
     56 
     57 - Site: https://www.cambus.net