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

commit 429cbbce37d919c0e78f4702bd96813446773b6e
parent f3ea22505f94779bfc46ccd4d6a06352472a4de1
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed, 24 Feb 2021 14:33:26 +0100

Document all possible switches in the manual page and in usage().

Mdnc.1 | 12+++++++++++-
Mdnc.py | 5+++++
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/dnc.1 b/dnc.1 @@ -32,7 +32,7 @@ .Nd Check domain names configuration .Sh SYNOPSIS .Nm -.Op Fl hv +.Op Fl 46hmnsv .Ar domain .Sh DESCRIPTION .Nm @@ -40,8 +40,18 @@ dnc (Domain Name Checker), is a CLI tool to check domain names configuration. .Pp The options are as follows: .Bl -tag -width 10n +.It Fl 4 +Resolve and display A records (IPv4 addresses). +.It Fl 6 +Resolve and display AAAA records (IPv6 addresses). .It Fl h Display usage. +.It Fl m +Resolve and display MX records (Mail Exchange). +.It Fl n +Resolve and display NS records (Name Servers). +.It Fl s +Display SSL/TLS certificate expiration date. .It Fl v Display version. .El diff --git a/dnc.py b/dnc.py @@ -28,7 +28,12 @@ def usage(): print( "dnc [-hv] domain\n\n" "The options are as follows:\n\n" + " -4 Resolve and display A records (IPv4 addresses).\n" + " -6 Resolve and display AAAA records (IPv6 addresses).\n" " -h Display usage.\n" + " -m Resolve and display MX records (Mail Exchange).\n" + " -n Resolve and display NS records (Name Servers).\n" + " -s Display SSL/TLS certificate expiration date.\n" " -v Display version." )