Which nameservers am I using?
David Bandel
david.bandel
Sun May 29 07:52:43 PDT 2005
On 5/28/05, Net Llama! <netllama at gmail.com> wrote:
> On 05/28/2005 08:14 PM, Michael Hipp wrote:
> > Net Llama! wrote:
> >> errr? they both tell me quite clearly. I use 204.60.203.190 as my
> >>
> >> [netllama at hal ~]$ nslookup yahoo.com; dig yahoo.com
> >
> > I must be really confused. Try to follow this:
> >
> > ####### Here's my resolv.conf
> > # cat resolv.conf
> > #nameserver 192.168.0.1
> > nameserver 207.191.50.10
> > nameserver 206.222.97.82
> > nameserver 192.168.0.1
> >
> > ####### Try nslookup (no workie!)
> > # nslookup google.com
> > Server: 207.191.50.10
> > Address: 207.191.50.10#53
> >
> > Non-authoritative answer:
> > *** Can't find google.com: No answer
> >
> > ####### Try ping just to be sure (no workie either!)
> > # ping google.com
> > ping: unknown host google.com
> >
> > ####### Edit resolv.conf to uncomment the first line and try again
> > # vi resolv.conf
> > # cat resolv.conf
> > nameserver 192.168.0.1
> > nameserver 207.191.50.10
> > nameserver 206.222.97.82
> > nameserver 192.168.0.1
> > # nslookup google.com
> > Server: 192.168.0.1
> > Address: 192.168.0.1#53
> >
> > Non-authoritative answer:
> > Name: google.com
> > Address: 216.239.37.99
> > Name: google.com
> > Address: 216.239.39.99
> > Name: google.com
> > Address: 216.239.57.99
> >
> > ###### Try ping to make sure it really works
> > # ping google.com
> > PING google.com (216.239.37.99) 56(84) bytes of data.
> > 64 bytes from 216.239.37.99: icmp_seq=1 ttl=240 time=70.3 ms
> > 64 bytes from 216.239.37.99: icmp_seq=2 ttl=240 time=68.9 ms
> > 64 bytes from 216.239.37.99: icmp_seq=3 ttl=240 time=67.3 ms
> >
> > What am I missing? What is the point of having multiple nameservers listed if
> > it only tries the first one and quits?
> >
> > Feeling tired, dumb and confused,
>
> 207.191.50.10 is borked. If i try to use it, i'm not gettting anything
> back either. Where did you get that one from?
dig -x 207.191.50.10 tells me that this is dns1.xspedia.net. That
would suggest that this is a DNS server.
dig @207.191.50.10 google.com gives me nothing constructive.
Likely reasons:
1. nameserver is not functioning (although the response I get suggests #2)
2. nameserver only responds recursively to internal IPs, but not to
external IPs. That is, they want this nameserver to only respond to
external queries when it is authoritative for the zone.
As for your questions about /etc/network/interfaces, please consult
the Debian documentation. When certain new libraries are installed,
/etc/resolv.conf becomes a symlink to /etc/resolvconf/run/resolv.conf.
When this happens, the dns-namerserver and dns-search and dns-domain
entries are inserted into /etc/resolvconf/run/resolv.conf. It your
/etc/resolv.conf is not a symlink, then obviously it won't be
affected.
You will find that /etc/network/interfaces is incredibly flexible. It
can set up bridges and more. Again, please read the copious amounts
of documentation available.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list