Another strange dns question (and I have RTFM)
Kevin Darcy
kcd at daimlerchrysler.com
Thu Feb 10 21:07:00 UTC 2005
Nick Brooks wrote:
>I'm in the process of upgrading my server at home and have migrated from
>RH 7 to Fedora Core 3.
>
>My machines are:-
>
>aquanta.sixandseven.net 192.168.1.100 (FC3) (new)
>server.sixandseven.net 192.168.1.100 (RH7) (old)
>
Both machines are on the same IP address? I suspect that's a typo...
>The old machine (server) was working fine: ie
>
> # dig @192.168.1.1 demon.net
>
>gives the expected reply
>
> From my new server
>
> # dig demon.net
>
This'll use whatever is configured in your /etc/resolv.conf. Without
having seen the contents of that file, one can only guess what
nameserver it is using.
> # dig @localhost demon.net
>
This of course will query "localhost", which may or may not be the same
nameserver that was queried in the previous "dig".
> # dig @aquanta demon.net
>
This will query whatever nameserver is listening on the address to which
the short name "aquanta" resolves. Don't know what that would be...
>
>all give the same (correct) response BUT
>
> # dig @192.168.1.100 demon.net
>
>gives
>
> ; <<>> DiG 9.2.4 <<>> @192.168.1.100 demon.net
> ;; global options: printcmd
> ;; connection timed out; no servers could be reached
>
Looks like your new nameserver can't communicate with Internet
nameservers, for some reason. Check firewall rules, NAT, etc. Sniff packets.
>The only difference I can see is that the log files show a slight
>difference when named is started:-
>
>New machine shows:-
>named[27598]: loading configuration from '/etc/named.conf'
>named[27598]: listening on IPv4 interface lo, 127.0.0.1#53
>named[27598]: listening on IPv4 interface eth0, 192.168.1.100#53
>
>Old machine shows:-
>named[7938]: loading configuration from '/etc/named.conf'
>named[7938]: listening on IPv4 interface lo, 127.0.0.1#53
>named[7938]: listening on IPv4 interface eth0, 192.168.1.1#53
>
If the machines have different IP addresses (as opposed to what you
showed above), then you should expect these log entries to differ
between the machines.
- Kevin
More information about the bind-users
mailing list