[LINUX] DNS dig command
When using the dig command to look up an authoritative DNS server directly
Add + norec
and -x
options
+ norec
performs non-recursive search
-x
can directly specify the IP address in reverse lookup
$ dig +norec @localhost -x 192.0.2.100
How to use the dig command
- Add + identify option if you want to see the resolved DNS server
- Default is A record search. Add ns to specify NS record
- Trace is + trace option