LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   bind9 problem : windows client can't use DNS service (https://www.linuxquestions.org/questions/linux-server-73/bind9-problem-windows-client-cant-use-dns-service-688652/)

and12345 12-05-2008 08:04 PM

bind9 problem : windows client can't use DNS service
 
guys.. i have setup ubuntu server and right now i'm trying to get my DNS server working for my intranet.

i'm using my ubuntu as gateway wo internet and somehow my windows client can't use my DNS service.
when i do nslookup www.google.com from my server (10.0.0.1) it return me answer

Server: 10.0.0.1
Address: 10.0.0.1#53

Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
Name: www.l.google.com
Address: 72.14.235.147
Name: www.l.google.com
Address: 72.14.235.99
Name: www.l.google.com
Address: 72.14.235.104

seems it's working from my server, but when i set my client to use 10.0.0.1 as DNS server and do nslookup www.google.com from my XP clients it return me answer

DNS request timed out
timeout was 2 seconds
*** can't find server name for address 10.0.0.1:timedout

here's my /etc/bind/named.conf

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

options {
directory "/var/named";
recursion yes;
allow-recursion {any;};
allow-query;
query-source port 53;
allow-transfer {none;}
}

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

thank you guys

Disillusionist 12-07-2008 04:53 AM

Are you running a firewall on the Server?

If so are you allowing inbound UDP connections to port 53 from the machines in your internal LAN?

luisduenas 12-08-2008 05:49 PM

use the command " ngrep port 53" you should see the source and destination address

U 200.xx.xx.xx:5141 -> 172.16.32.125:53
.............yahoo.com.xxx.xxxx.....

If you can't maybe the problem is on a different part.


All times are GMT -5. The time now is 10:29 PM.