LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2008, 08:04 PM   #1
and12345
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
Unhappy 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
 
Old 12-07-2008, 04:53 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
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?
 
Old 12-08-2008, 05:49 PM   #3
luisduenas
LQ Newbie
 
Registered: Dec 2008
Distribution: Debian - pero ya no.
Posts: 22

Rep: Reputation: 0
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.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows client can't use ubuntu bind9 DNS service and12345 Linux - Networking 1 12-07-2008 12:39 PM
Windows 03 DNS zone transfer to BIND9 on Suse 10 Enterprise clincoln Linux - Networking 11 08-15-2008 01:03 AM
Windows 2k3 DNS -> RHEL 5.1 BIND9 jessicaK Linux - Enterprise 3 12-18-2007 07:34 AM
BIND9 slave DNS problem HELP!!! mlu Linux - Networking 2 05-05-2005 06:31 AM
windows 2000 client cannot lookup linux DNS reddy Linux - Networking 2 05-14-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration