View Single Post
  #3 (permalink)  
Old 07-15-2008, 02:59 AM
lucas
 
Posts: n/a
Re: bind/named no found DNS on clients

well,

under the file

/var/named/chroot/etc/named.caching-nameserver.conf

i added the line

acl localnet { 127.0.0.1; 192.168.0.1/24; }

and then changed the following two lines to use this acl localnet as:

options {
listen-on port 53 { localnet; };
...
allow-query { localnet; };
}

also under:

view localhost_resolver {
match-clients { localnet; };
match-destinations { localnet; };
...
}

these changes to this file did the trick. very tricky, really. thanx
for your help.

lucas

Moe Trin wrote:
> On Sun, 13 Jul 2008, in the Usenet newsgroup alt.os.linux.redhat, in article
> <U7rek.668$t32.85@bignews3.bellsouth.net>, lucas wrote:
>
>> i am setting up a centos 5 server and i can't quite get bind/named to
>> work properly. actually, it works great on the linux server, but the
>> other private intranet computer behind the linus server do not resolve
>> domain names.

>
> Fire up a packet sniffer, and see what the query/response look like on
> the wire. Look at the DNS server setup, and make sure it is listening
> on the _network_ interface - eth0 or eth1 as appropriate (and not just
> the loopback interface).
>
> Old guy


Reply With Quote