Do a reverse lookup for IPv6
Get the PTR record for an IPv6 address. -x builds the reversed nibble name for you
dig -x 2606:4700:4700::1111 +short
- tool
- dig11 commands
More dig commands
-
for r in example.com _dmarc.example.com sel._domainkey.example.com; do dig +short TXT $r; doneGet SPF, DMARC and DKIM TXT records in one loop for a mail audit
-
dig +short CAA example.comShow which CAs may issue certificates. With no CAA record, any CA can issue
-
dig +short SRV _sip._tcp.example.comGet priority, weight, port and target for a service. AD, SIP and XMPP use these records
-
dig +tcp +ttlunits +noall +answer example.com @8.8.8.8Check that TCP/53 works. +ttlunits prints TTL as 1h or 30m instead of raw seconds
-
dig +noall +answer example.comHide headers and stats and print only the answer. Good for scripts and diffs