LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2008, 09:55 PM   #1
and12345
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
windows client can't use ubuntu bind9 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, 12:39 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Did you set up a firewall on the Ubuntu machine?

I would use a network packet sniffer on both the XP machine and the Ubuntu machine to see whether the XP DNS requests are getting to the Ubuntu DNS server process or if they are being rejected by the Ubuntu machine.

There are several very good network packet sniffers. tcpdump works very well in a terminal window. Set the terminal window to keep an unlimited history/scroll region. Then start tcpdump and use nslookup on the XP machine. See if the packets are seen by the Ubuntu machine and what it does with them.

Last edited by stress_junkie; 12-07-2008 at 12:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03 DNS zone transfer to BIND9 on Suse 10 Enterprise clincoln Linux - Networking 11 08-15-2008 01:03 AM
Ubuntu Secondary DNS for Windows AD 2003 DNS? cwhitmore Ubuntu 0 04-07-2008 11:26 AM
DNS (bind9) on Ubuntu not working right Avatar Linux - Networking 9 01-07-2008 04:01 PM
Windows 2k3 DNS -> RHEL 5.1 BIND9 jessicaK Linux - Enterprise 3 12-18-2007 07:34 AM
dns configuration using Bind9 and ubuntu aljohn123 Ubuntu 0 11-13-2006 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:18 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