help for the bind problem.

ChangShen chang_shen at progressive.com
Mon Mar 20 15:37:27 UTC 2006


Hi, all,
I have set up a loca cache only DNS using bind-chroot.  No SELinux yet.
 From the DNS server itself, I can ping with name, say ping xyz or
xyz.home.net.  The query.log file says Bind got query from 127.0.0.1 at
53 port.  The named.log says named is running and zone files have been
loaded ok.
This dns ip is 192.168.1.2 and its name is mydns.home.net

The named.conf has a control entry like this:
acl loaclnet { 192.168.1.0/8; 127.0.0.1; };
and it includes a line of rndckey file.

The resolv.conf in dns server like this:
domain home.net
nameserver 127.0.0.1

>From xyz, its resolve.conf is
domain home.net
nameserver 192.168.1.2

>From xyz, I can ping ip, sya ping 192.168.1.2, no problem.
but when I try to ping mydns.home.net, it returns erro, says something
like this:
connection timeout, no server can be find.
xyz's ip is 192.168.1.100

Why?  since its resolve.conf has this 192.168.1.2.  Why xyz can not
find that dns server?
The query.log did not shows any query call from xyz.  Since there is no
SELinux and the acl says 192.168.1.0/8 can access dns.  So
xyz(192.168.1.100) should be able to access mydns.home.net.  Right?


Thanks in advance.



More information about the bind-users mailing list