[sf-lug] resolver problem in Fedora
Alex Kleider
a_kleider at yahoo.com
Tue Nov 23 17:26:44 PST 2010
resolv.conf on all machines (created by NetworkManager) points to 10.0.0.2 which is the Netopia router in Bolinas.
There are some differences in the content of /etc/nsswitch.conf but what they mean, I don't know. Here they are for what it's worth:
nsswitch.conf as found on Fedora:
# /etc/nsswitch.conf
passwd: files
shadow: files
group: files
hosts: files mdns4_minimal [NOTFOUND=return] dns
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
*********************************************************
nsswitch.conf as found on Ubuntu:
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
~
a_kleider at yahoo.com
--- On Sun, 11/21/10, Nathan Hoover <nathan at foo-o-rama.com> wrote:
From: Nathan Hoover <nathan at foo-o-rama.com>
Subject: Re: [sf-lug] resolver problem in Fedora
To: alex at kleico.net
Cc: sf-lug at linuxmafia.com
Date: Sunday, November 21, 2010, 7:21 PM
The difference between your ssh and dig is that with the dig, you're telling it where to go to resolve the name. Is the /etc/resolv.conf correct on the Fedora boxes?
N
On Sun, Nov 21, 2010 at 7:09 PM, Alex Kleider <a_kleider at yahoo.com> wrote:
DNS Quandry
I am experiencing a most perplexing and seemingly inconsistent problem with url to IP address resolution that might interest (some) list member(s).
I "administer" two home networks.
One is in DockTown in Redwood City where DNS services are provided by unbound running on a SheevaPlug and here everything works as you'd expect it should. (I should acknowledge here that I was able to accomplish this only because of advice provide on this list by Rick Moen.)
The other is in Bolinas where a consumer grade router (Netopia) is providing the service. (I hope in the not too distant future to get a plug going here as well.)
Users include (amongst others) an Ubuntu and two Fedora laptops. All is well in Redwood City. In Bolinas however, only the Ubuntu machine works properly. Both Fedora laptops are unable to resolve.
But it's even more mysterious because these same fedora machines CAN ping and they can dig while in Bolinas, but neither ssh nor firefox can resolve.
How can this be????
As a ps, I'll add the code snippets to show what I mean about dig working but ssh not. (the Netopia router is at IP address 10.0.0.2; alex at zar is an Ubuntu laptop, mike at ee is a fedora laptop, another fedora laptop behaves the same way; a MacBookPro laptop and a M$Windows laptop have no problems)
I have to assume this is somehow a bug in the Fedora distro but I can't understand how ping and dig can resolve, without other programs being able to do so.
cheers,
alex
p.s.
# mike at ee is on a Fedora 14 laptop:
[mike at ee ~]$ dig kleico.net @10.0.0.2 +short
76.191.206.83
[mike at ee ~]$ ssh alex at kleico.net
ssh: Could not resolve hostname kleico.net: Name or service not known
[mike at ee ~]$
##########################################################################
# alex at zar is on an Ubuntu 10.10 laptop:
alex at zar:~$ dig kleico.net @10.0.0.2 +short
76.191.206.83
alex at zar:~$ ssh alex at kleico.net
Linux plug 2.6.32-trunk-kirkwood #1 Mon Jan 11 10:57:12 UTC 2010 armv5tel
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Sat Nov 20 12:50:33 2010 from 76-191-205-213.dsl.dynamic.sonic.net
alex at plug:~$
a_kleider at yahoo.com
_______________________________________________
sf-lug mailing list
sf-lug at linuxmafia.com
http://linuxmafia.com/mailman/listinfo/sf-lug
Information about SF-LUG is at http://www.sf-lug.org/
-----Inline Attachment Follows-----
_______________________________________________
sf-lug mailing list
sf-lug at linuxmafia.com
http://linuxmafia.com/mailman/listinfo/sf-lug
Information about SF-LUG is at http://www.sf-lug.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20101123/696875df/attachment.html>
More information about the sf-lug
mailing list