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.
- 03-02-2006 #1Linux 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:but still doesn't work.Code:zone "domain.net" { type master; file "/etc/bind/domain.net.hosts"; };
- 03-02-2006 #2
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/
- 03-02-2006 #3Linux 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:2.) next step, I've created a master zone for my dns server ext.domain.net:Code:zone "202.X.X.in-addr.arpa" { type master; file "/etc/bind/202.X.X.rev"; notify yes; allow-query { any; }; };3.) I've opened the zone master zone: domain.net, clicked on Address and I've put following:Code:zone "domain.net" { type master; file "/etc/bind/domain.net.hosts"; notify yes; allow-query { any; }; };now I have:Code:ext.domain.net. Default 202.X.X.10 domain.net. Default 202.X.X.10 www.domain.net. Default 202.X.X.10
I get on the client: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 hope it's everything OK now, if no pls correct me !Code:C:\>nslookup www.domain.net Server: ext.domain.net Address: 202.X.X.10 Name: www.domain.net Address: 202.X.X.10
- 03-03-2006 #4
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/
- 03-15-2006 #5Linux Newbie
- Join Date
- Jun 2004
- Posts
- 120
thanks a lot !


Reply With Quote
