1822158 Members
3417 Online
109640 Solutions
New Discussion юеВ

DNS Server: UnKnown

 
SOLVED
Go to solution
'chris'
Super Advisor

DNS 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 the answer Server: UnKnown

I've tried already to setup a new Master Zone for the domain: domain.net
with webmin in named.conf.local:

zone "domain.net" {
type master;
file "/etc/bind/domain.net.hosts";
};

but still doesn't work.

knows someone howto solve this problem ?
3 REPLIES 3
Stuart Browne
Honored Contributor
Solution

Re: DNS Server: UnKnown

Who's doing the reverse DNS for the 202.X.X subnet?
One long-haired git at your service...
Sergejs Svitnevs
Honored Contributor

Re: DNS Server: UnKnown

"Can't find server name for address 202.X.X.10: Non-existent domain"

It means that there is no PTR record for 202.X.X.10.in-addr.arpa. Without a reverse lookup zone configured you will see this error. To resolve it, create a reverse lookup zone on your DNS server.

Regards,
Sergejs
'chris'
Super Advisor

Re: DNS Server: UnKnown

thanks, it seems to work now !

I've done following using the webmin:

1.) first I've created a new reverse master zone:

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:

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:

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:

$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 from the client now:

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
I'll be very happy, if someone could check this entries

greetings
chris