Cant access my nameserver
Hi !
This is kind of follow-up to an earlier message "name resolving doesn't
work", but now I can provide a bit more info...
I have a big problem with the name resolving in my tiny network:
One of my computers (debian, woody with no update since ages, named
"marvin", ip 192.168.42.99 ) connects via dial up (analog modem) to the
internet. On this computer, everything works fine.
All the following test were made with marvin "on-line"
Until yesterday, everything worked fine. I did not change anything on
marvin. But now, on both of my linux-boxes (eddie and zaphod) name
resolving doesn't work anymore, maybe because I can't access the
nameserver on marvin (?)...
Eddie: # cat /etc/resolv.conf
search galaxy.home
domain galaxy.home
nameserver 192.168.42.99
markus@Eddie: > ping www.fhm.edu
ping: unknown host www.fhm.edu
markus@Eddie: > ping 129.187.244.84
PING 129.187.244.84 (129.187.244.84): 56 data bytes
64 bytes from 129.187.244.84: icmp_seq=0 ttl=251 time=181.3 ms
64 bytes from 129.187.244.84: icmp_seq=1 ttl=251 time=164.4 ms
I can telnet to the nameserver port on marvin from marvin:
Marvin: # telnet localhost 53
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
This works from everywhere in the net, but it takes a long time until
the Telnet promt comes up from eddie or zaphod.
The named logfile on marvin does not complain about anything but shows:
Jan 29 18:28:44 Marvin named[7989]: USAGE 1012325324 1012323707
CPU=0.1u/0.05s CHILDCPU Jan 29 18:28:44 Marvin named[7989]: NSTATS
1012325324 1012323707 A=12 PTR=14 Jan 29 18:28:44 Marvin named[7989]:
XSTATS 1012325324 1012323707 RR=0 RNXD=0 RFwdR=0 RD Jan 29 18:28:44
Marvin named[8484]: starting (/etc/bind/named.conf). named 8.2.4-REL-N
Jan 29 18:28:44 Marvin named[8484]: hint zone "" (IN) loaded (serial 0)
Jan 29 18:28:44 Marvin named[8484]: master zone "localhost" (IN) loaded
(serial 1) Jan 29 18:28:44 Marvin named[8484]: master zone
"127.in-addr.arpa" (IN) loaded (serial Jan 29 18:28:44 Marvin
named[8484]: master zone "0.in-addr.arpa" (IN) loaded (serial 1) Jan 29
18:28:44 Marvin named[8484]: master zone "255.in-addr.arpa" (IN) loaded
(serial Jan 29 18:28:44 Marvin named[8484]: listening on [127.0.0.1].53
(lo) Jan 29 18:28:44 Marvin named[8484]: listening on [192.168.42.99].53
(eth0) Jan 29 18:28:44 Marvin named[8484]: listening on
[129.187.31.161].53 (ppp0) Jan 29 18:28:44 Marvin named[8484]:
Forwarding source address is [0.0.0.0].1038 Jan 29 18:28:44 Marvin
named[8485]: Ready to answer queries.
I never set up bind, just used pppconfig on marvin to set "static" dns
and made the resolv.conf file mentioned above on eddie.
The last thing I can provide is a tdpdump during my failed ping on
eddie:
tcpdump: listening on eth0
18:16:59.052479 eddie.galaxy.home.32775 > marvin.galaxy.home.domain:
5123+ A? w ww.fhm.edu. (29) (DF)
18:17:00.007744 eddie.galaxy.home.32772 > 202.12.27.33.domain: 39127
NS? . (17) (DF)
18:17:00.009962 eddie.galaxy.home.32776 > marvin.galaxy.home.domain:
23464+ PTR? 33.27.12.202.in-addr.arpa. (43) (DF)
18:17:04.057724 eddie.galaxy.home.32775 > marvin.galaxy.home.domain:
5123+ A? w ww.fhm.edu. (29) (DF)
18:17:05.017641 eddie.galaxy.home.32776 > marvin.galaxy.home.domain:
23464+ PTR? 33.27.12.202.in-addr.arpa. (43) (DF)
18:17:08.007752 eddie.galaxy.home.32772 > 198.41.0.4.domain: 39127 NS?
. (17) ( DF)
18:17:09.368497 marvin.galaxy.home.domain > eddie.galaxy.home.32775:
34128 Serv Fail 0/0/0 (29)
18:17:09.368525 eddie.galaxy.home > marvin.galaxy.home: icmp:
eddie.galaxy.home udp port 32775 unreachable [tos 0xc0]
18:17:10.028629 eddie.galaxy.home.32776 > marvin.galaxy.home.domain:
23465+ PTR? 4.0.41.198.in-addr.arpa. (41) (DF)
18:17:15.037642 eddie.galaxy.home.32776 > marvin.galaxy.home.domain:
23465+ PTR? 4.0.41.198.in-addr.arpa. (41) (DF)
18:17:16.007949 eddie.galaxy.home.32772 > 192.36.148.17.domain: 39127
NS? . (17) (DF)
18:17:19.369187 marvin.galaxy.home.domain > eddie.galaxy.home.32775:
34129 Serv Fail 0/0/0 (41)
18:17:19.369214 eddie.galaxy.home > marvin.galaxy.home: icmp:
eddie.galaxy.home udp port 32775 unreachable [tos 0xc0]
~
I have a little firewall on marvin but get no log entries during the
ping.
Now you know all I know... Can you please help me ?
--
Markus Grunwald
Registered Linux User Nr 101577
http://counter.li.org http://www.grunwald.2xs.de
Reply to: