-
Notifications
You must be signed in to change notification settings - Fork 0
DNS Command
Léo Peyronnet edited this page Jul 15, 2024
·
2 revisions
The dns
command retrieves DNS information about a specified domain name.
itcli dns <site> [options]
- site: The URL of the site for which DNS information is to be retrieved.
-
-a
or--advanced
: Display all information for Whois. Default:False
. -
-r
or--record-types
: Only display the provided record types. See the table below for choices and descriptions. -
-h
or--help
: Shows help text.
Value | Description |
---|---|
A | Address record (IPv4) |
NS | Name server record |
MD | Mail destination record (deprecated) |
MF | Mail forwarder record (deprecated) |
CNAME | Canonical name record |
SOA | Start of authority record |
MB | Mailbox record (deprecated) |
MG | Mail group record (deprecated) |
MR | Mail rename record (deprecated) |
NULL | Null record (unused) |
WKS | Well-known service record |
PTR | Pointer record (reverse DNS) |
HINFO | Host information record |
MINFO | Mailbox or mail list information record |
MX | Mail exchange record |
TXT | Text record |
RP | Responsible person record |
AFSDB | AFS database record (used by AFS) |
AAAA | Address record (IPv6) |
SRV | Service locator record |
NAPTR | Naming authority pointer record |
CERT | Certificate record |
OPT | Option record (used in DNS extensions) |
DS | Delegation signer record |
SSHFP | SSH fingerprint record |
RRSIG | DNSSEC signature record |
NSEC | Next secure record (DNSSEC) |
DNSKEY | DNSSEC public key record |
NSEC3 | Next secure record (DNSSEC) with hashing |
NSEC3PARAM | NSEC3 parameters |
TLSA | TLS Authentication record |
SPF | Sender Policy Framework record |
URI | Uniform Resource Identifier record |
CAA | Certification Authority Authorization record |
To get basic DNS information for a domain:
itcli dns example.com
To get DNS and all WHOIS information available for a domain:
itcli dns example.com --advanced
To get specific DNS record types for a domain, such as A
and MX
records:
itcli dns example.com --record-types A MX