Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: A shell script to do DNS lookups in the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A shell script to do DNS lookups in the Terminal
Authored by: otterboy on Sep 20, '05 01:53:48PM

Or couldn't you just use the shipped utility dig?

i.e. :

bash$ dig @nameserver domain.com



[ Reply to This | # ]
10.4: A shell script to do DNS lookups in the Terminal
Authored by: prk on Sep 20, '05 04:07:19PM

or even the host utility?

host something.com ns1.somewhere.com



[ Reply to This | # ]
Wrong Tip title
Authored by: emzy on Sep 20, '05 06:13:27PM

The title is wrong, it's about setting the Nameserver setting (resolver).
Not to make a Host lookup.

Sometimes its nice to simply edit it e.g. if you using openvpn.

Maybe somone can set the Title to: Setting the Namserver on Shell

CU Emzy



[ Reply to This | # ]