ameshkov / dnslookup

Simple command line utility to make DNS lookups to the specified server
MIT License
860 stars 73 forks source link

dig +short-like mode #77

Open ainar-g opened 3 months ago

ainar-g commented 3 months ago

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.