resolv.conf?
pll at lanminds.com
pll at lanminds.com
Tue Jun 3 16:28:19 EDT 2003
>>>>> On Tue, 3 Jun 2003, "Ben" == bscott at ntisys.com wrote:
Ben> One thing to be aware of is that "host" (and "nslookup" and
Ben> "dig" too) deliberately bypasses the usual gethostby* standard
Ben> library calls and goes directly to the DNS resolver library.
Ben> That can occasionally introduce subtle problems.
And it appears to be doing so :) I can ping the system just fine,
but can't 'host' it.
Ben> Try "host -v foo" as well. That might offer clues.
Ayup, it's only trying eng.lab, not the other domains listed in my
/etc/resolv.conf file, which also seems to indicate that my DNS
server isn't passing the request up the food chain when using 'host'
to query it.
Now, even more bizarre, on the DNS server, my resolv.conf file is
identical to the one on my laptop. nsswitch.conf has:
hosts: files dns
as does my laptop.
when I type 'host redsox' on the DNS server, I get the
correct response. On my laptop, I do not. Ohhhhh, wait a second, it
looks like I have 2 different versions of 'host':
laptop:
$ dpkg -S `which host`
host: /usr/bin/host
DNS server:
# dpkg -S `which host`
bind9-host: /usr/bin/host
And, sure enough, if I install bind9-host on my laptop, everything
works just fine :)
Thanks folks, you can go back to your fried-chicken discussion now ;)
--
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
More information about the gnhlug-discuss
mailing list