dnslookup
dnslookup copied to clipboard
dig +short-like mode
For scripts it's often convenient to only have the results in stdout. That is, the IP address/es, TXT records, or NXDOMAIN
. For an example, see the difference between dig 'www.example.com' A
and dig +short 'www.example.com' A
.