jan-jaap wrote:
OK, you have configured a working DNS server in /etc/resolv.conf. Name resolution using DNS works...
Check
Quote:
... but are you using DNS are a source for host name resolution? Other sources (LDAP, NIS, files, ...) exist too.
files, dns
As little as possible in files, if the router/dns server does most of it I don't have to mess with hosts files all over the place.
Quote:
Your sources are configured in /etc/nsswitch.conf. This is how mine looks:
Almost exactly the same except :
Code:
hosts: nis dns files
for me is
Code:
hosts: files dns
Quote:
The crucial bit here is:
Host name resolution tries NIS first, then DNS, then files (/etc/hosts)
Code:
hosts: nis dns files
Host name resolution tries NIS first, then DNS, then files (/etc/hosts)
Check
Quote:
Most people can probably eliminate 'nis' here, and/or swap the order of the 'files' and 'dns' entries.
double check
Also ...
Code:
ip dns server
--More--
ip name-server 8.8.4.4
ip name-server 176.34.53.14
ip name-server 4.2.2.2
--More--
ip host cisco xxx.yyy.zzz.001
ip host gateway 222.333.444.99
ip host host_one xxx.yyy.zzz.002
ip host host_two xxx.yyy.zzz.003
ip host platform.twitter.com 127.0.0.1
ip host printer_one xxx.yyy.zzz.201
ip host printer_two xxx.yyy.zzz.202
--More--
ip name-server 8.8.4.4
ip name-server 176.34.53.14
ip name-server 4.2.2.2
--More--
ip host cisco xxx.yyy.zzz.001
ip host gateway 222.333.444.99
ip host host_one xxx.yyy.zzz.002
ip host host_two xxx.yyy.zzz.003
ip host platform.twitter.com 127.0.0.1
ip host printer_one xxx.yyy.zzz.201
ip host printer_two xxx.yyy.zzz.202
Everything works lovely, then the whole dns thing falls into the pit, then an hour later it all works lovely, then it will quit again. No change whatever from me (although sometimes I'll get antsy and clear the cached host entries on the dns server, which seems to help. But that might be a coincidence.) Local and first-stop dns is done on the router (cisco). Lots of poisoned dns entries even tho I am not (supposedly) using their dns servers.
If I could figure out what the heck they are doing I could either get around it or give up. But just having it screw with me pisses me off and wastes a lot of time, too.
_________________
waiting for flight 1203 ...