bug/feature in host/nslookup command - queries wrong server
duncan at dcl.co.uk
Tue Feb 2 10:57:49 UTC 2010
I have noticed that fedora 10 appears to ignore the server option when
using host or nslookup if the host in question is not available.
The commands should return no server available as they have in the past
but instead decide to query the local name server and return results
# nslookup google.co.uk 18.104.22.168
# host google.co.uk 22.214.171.124
Using domain server:
google.co.uk has address 126.96.36.199
google.co.uk has address 188.8.131.52
google.co.uk mail is handled by 10 google.com.s9b1.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9b2.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9a1.psmtp.com.
google.co.uk mail is handled by 10 google.com.s9a2.psmtp.com.
Using the debug option does not reveal anything it appears that the
command just decides since it can't connect to the server in question it
will query the servers defined in resolv.conf instead.
Is there an option in later release of fedora to enable/disable this? Is
it expected behaviour now?
More information about the users