Networking
DNS Command Builder
Generate dig, host, and nslookup commands for common DNS lookups.
Command
Lookup
Record Type
Common examples
| Task | Command |
|---|---|
| IPv4 address | dig example.com A |
| IPv6 address | dig example.com AAAA |
| Mail servers | dig example.com MX |
| Name servers | dig example.com NS |
| TXT records | dig example.com TXT |
| Reverse lookup | dig -x 8.8.8.8 |