dig/nslookup
dig
Basic command:
$ dig @<nameserver> <DOMAIN> [query_type]
# eg.
$ dig @8.8.8.8 google.com A #(a) - equivalent to nslookup
$ dig @8.8.8.8 google.com AAAA #(b) - equivalent to nslookup
$ dig @8.8.8.8 google.com NS #(c) - equivalent to nslookup
$ dig @8.8.8.8 google.com MX #(d) - equivalent to nslookupOther useful options:
$ dig ... +[no]<options>
# eg.
$ dig ... +shortnslookup
Basic command:
Last updated