[SPAM] bug/feature in host/nslookup command - queries wrong server

Tom H tomh0665 at gmail.com
Wed Feb 3 10:46:33 UTC 2010


>> Alternatively, you can
>> use the dig command to query specific servers.

> Yea, but you can't understand anything dig prints
> to stdout, so using it to do queries is hopeless :-).

So the ";; QUESTION SECTION:" header is not enough of a hint? :)

Furthermore, you can create aliases of the following (for example) to
modify dig's output:

# dig +noquestion +nocomments +nostats +nocmd @8.8.8.8 fedoraproject.org
fedoraproject.org.	25	IN	A	152.46.7.221
fedoraproject.org.	25	IN	A	66.35.62.162
fedoraproject.org.	25	IN	A	80.239.156.214

# dig +short @8.8.8.8 fedoraproject.org
152.46.7.221
66.35.62.162
80.239.156.214


More information about the users mailing list