NSLOOKUP not finding server

Dave dave at mossface.com
Tue Dec 16 10:47:19 UTC 2008

After months of failing to get this working. Within 10 minutes of joining
this list i have found the solution!


I needed to enable port 53 tcp AND UDP! 


Sorry to waste anyone's time.






From: bind-users-bounces at lists.isc.org
[mailto:bind-users-bounces at lists.isc.org] On Behalf Of Dave
Sent: 16 December 2008 10:14
To: bind-users at lists.isc.org
Subject: NSLOOKUP not finding server




I'm hoping someone can point out where I'm going wrong as i seem to be going
round in circles!


I am trying to create a DNS server for my office network.  I have created a
smb domain (mydomain.now) which i am able to join from my windows pc's but
only while the old windows DNS server is still running (domain =
mydomain.int).  As soon as i shut down the windows domain controller and
force the pc's to use the new DNS server an NS lookup fails and i can't
access the internet etc from the PC's.


C:\Program Files\Windows Resource Kits\Tools>nslookup

DNS request timed out.

    timeout was 2 seconds.

*** Can't find server name for address Timed out

*** Default servers are not available

Default Server:  UnKnown



I have the following hardware:

ADSL router facing the outside world (XX.194.XX.194 external,


Server "myserver" running CENTOS (


Internal windows PC's (192.168.1.XXX)



And the following files:



domain mydomain.now

search mydomain.now




options {


directory "/var/named/chroot/var/named";

pid-file "/var/named/chroot/var/run/named/named.pid";

listen-on {; };





zone "." {

        type hint;

        file "db.root";


zone "0.0.127.in-addr.arpa" {

     type master;

     file "db.local";


zone "mydomain.now" {

     type master;

     notify no;

     file "pri.mydomain.now";




zone "1.168.192.in-addr.arpa" {

        type master;

        file "192.168.1.rev";







; reverse pointers for localhost



$ORIGIN 0.0.127.in-addr.arpa.

@    IN   SOA   mydomain.now. root.localhost. (

                        2008111901; serial

                        28800; refresh, seconds

                        7200; retry, seconds

                        604800; expire, seconds

                        86400 ); minimum, seconds

     IN   NS   dns.mydomain.now.

1    IN   PTR  localhost.






$TTL 86400

@       IN      SOA     mydomain.now. root.dns.mydomain.now. (





                        86400 )

                NS      dns.mydomain.now

        IN      A

        IN      MX      10      mail.mydomain.now.



localhost               A

myserver              A


dns                     CNAME   myserver

mail                    CNAME   myserver

www                     CNAME   myserver

ftp                     CNAME   myserver

svn                     CNAME   myserver

mydomainpc3             A






$ttl 38400

@       IN      SOA     dns.mydomain.now. root.dns.mydomain.now. (

                        1       ; Serial

                        8H      ; Refresh

                        2H      ; Retry

                        1W      ; Expire

                        1D      ; Minimum


                NS      dns.mydomain.now.

80              PTR    myserver.mydomain.now.

                PTR     mail.mydomain.now.

64              PTR     myserver.mydomain.now.







I have tried about 20 different how-to BIND tutorials and come to nothing.
Any help now would be greatly appreciated.


Thanks in advance.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20081216/0ee1a9ef/attachment.html>

More information about the bind-users mailing list