Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > RedHat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-2008, 05:43 PM
lucas
 
Posts: n/a
bind/named no found DNS on clients

hello one and all,

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. i have the client computers default gateway and DNS
server pointing to the linux server ip, i.e., 192.168.0.3. but the
client computer are not seeing the dns service on server.

so basically, bind/named is working fine on the server itself, however,
the client computer accessing the dns server are not able to resolve
domain names. iptables and routing are working and not the cause on the
server and also, pinging a hard ip off the client computers is working
fine. just dns is not working on the client computers. please help.
thank you in advance.

lucas
Reply With Quote
  #2 (permalink)  
Old 07-14-2008, 08:03 PM
Moe Trin
 
Posts: n/a
Re: bind/named no found DNS on clients

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
  #3 (permalink)  
Old 07-15-2008, 01: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
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > RedHat


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:39 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109