Find the answer to your Linux question:
Results 1 to 5 of 5
hi I've setuped a public DNS-Server BIND 9 on linux Debian Sarge. it seems to work, but I have a following problem: if I try lookup from an external client, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    cc
    cc is offline
    Linux Newbie
    Join Date
    Jun 2004
    Posts
    120

    nslookup Server: UnKnown


    hi

    I've setuped a public DNS-Server BIND 9 on linux Debian Sarge.
    it seems to work, but I have a following problem:
    if I try lookup from an external client, then I get:

    C:\>nslookup google.com
    *** Can't find server name for address 202.X.X.10: Non-existent domain
    *** Default servers are not available
    Server: UnKnown
    Address: 202.X.X.10

    Non-authoritative answer:
    Name: google.com
    Addresses: 72.14.207.99, 64.233.167.99, 64.233.187.99

    my DNS-Server is ext.domain.net
    the domain: domain.net ist hosted at the moment on other DNS-Server,
    but I'd like to change it in the future.
    my DNS-Server should be responsible for this Master Zone.

    I'd like to get the answer from my DNS-Server:
    domain.net or ext.domain.net
    and not Server: UnKnown

    I've tried already to setup a new Master Zone for the domain: domain.net with webmin in named.conf.local:
    Code:
     
    zone "domain.net" {
    	type master;
    	file "/etc/bind/domain.net.hosts";
    	};
    but still doesn't work.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,882
    Is your DNS server set up correctly for reverse-lookups (i.e. ip to name translations)? I'm pretty sure you'd see an error like this if that were not configured properly.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    cc
    cc is offline
    Linux Newbie
    Join Date
    Jun 2004
    Posts
    120
    yep, the reverse zone was missing

    it seems to work now !

    I've done following using the webmin:

    1.) first I've created a new reverse master zone:
    Code:
    zone "202.X.X.in-addr.arpa" {
    	type master;
    	file "/etc/bind/202.X.X.rev";
            notify yes;
            allow-query { any; };   
    	};
    2.) next step, I've created a master zone for my dns server ext.domain.net:
    Code:
    zone "domain.net" {
    	type master;
    	file "/etc/bind/domain.net.hosts";
            notify yes;
            allow-query { any; };   
    	};
    3.) I've opened the zone master zone: domain.net, clicked on Address and I've put following:
    Code:
    ext.domain.net. 	Default 	202.X.X.10
    domain.net. 	    Default    202.X.X.10
    www.domain.net. 	Default 	202.X.X.10
    now I have:
    Code:
    $ttl 38400
    domain.net.	IN	SOA	ext.domain.net. postmaster.domain.net. (
    			1141342034
    			10800
    			3600
    			604800
    			38400 )
    domain.net.	IN	NS	ext.domain.net.
    ext.domain.net.	IN	A	202.X.X.10
    domain.net.	IN	A	202.X.X.10
    I get on the client:
    Code:
    C:\>nslookup www.domain.net
    Server:  ext.domain.net
    Address:  202.X.X.10
    
    Name:    www.domain.net
    Address:  202.X.X.10
    I hope it's everything OK now, if no pls correct me !

  4. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,882
    It all looks pretty good to my cursory check. If it works and gives the DNS responses you want then it's right!
    Linux user #126863 - see http://linuxcounter.net/

  5. #5
    cc
    cc is offline
    Linux Newbie
    Join Date
    Jun 2004
    Posts
    120
    thanks a lot !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •