Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BIND 9.2.1 NSLOOKUP Problem

27 views
Skip to first unread message

gcn

unread,
Sep 21, 2002, 1:59:45 PM9/21/02
to

hy there..

i get an Error while asking for an NSLOOKUP from any Client in my local
Network.

#nslookup netwall
*** Can't find server name for address 192.168.0.2: Non-existent host/domain
*** Default servers are not available

The Primary Zone is set to gcn.bsd and he resolvs it normally, but ONLY the
nslookup fails.
I know that theres an BUG in NSLOOKUP, but it worked in the last time!

Ping works on any Client called by the Name like:

#ping netserver
PING netserver.gcn.bsd (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=64 time=0.184 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.205 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.218 ms

That says me that he resolvs the Names to the adresses right.
The resolv.conf contains the Namerserver (netserver) of the local network.
The Hosts File contains only the 127.0.01 entry. (on ANY Client)

The Nslookup works on the Console of the Namerserver great.

netserver# nslookup gcn
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: gcn.gcn.bsd
Address: 192.168.0.1

The sense of the Server should be that it resolvs the local domainnames and
forwards the non-local internet requests to an other DNS Server.

PLZ HELP..

----------------------------------------------------------------------------
--
gcn.bsd.hosts :
----------------------------------------------------------------------------
--

$ttl 38400
gcn.bsd. IN SOA netserver.gcn.bsd. root.gcn.gcn.bsd. (
1032519721
10800
3600
604800
38400 )
gcn.bsd. IN NS netserver.gcn.bsd.
gcn.gcn.bsd. IN A 192.168.0.1
netwall.gcn.bsd. IN A 192.168.0.5
netserver.gcn.bsd. IN A 192.168.0.2
smtp.gcn.bsd. IN A 192.168.0.2
hauptserver.gcn.bsd. IN A 192.168.0.3
noti.gcn.bsd. IN A 192.168.0.6
netserver.gcn.bsd. IN PTR 192.168.0.2

----------------------------------------------------------------------------
--
localhost.rev :
----------------------------------------------------------------------------
--

; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90
; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40
peter Exp $
;
; This file is automatically edited by the `make-localhost' script in
; the /etc/namedb directory.
;

$TTL 3600

@ IN SOA netserver.gcn.bsd. root.netserver.gcn.bsd. (
20020920 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS netserver.gcn.bsd.
1 IN PTR localhost.gcn.bsd.

----------------------------------------------------------------------------
--
named.conf
----------------------------------------------------------------------------
--

options {
directory "/etc/namedb";
pid-file "/var/run/named.pid";
forwarders {
194.25.2.129;
194.25.0.68;
};
};


zone "gcn.bsd" {
type master;
file "/etc/namedb/gcn.bsd.hosts";
};

----------------------------------------------------

That are all files in my /etc/namedb/ -->Directory
No other Files are Present.

Thx 4 all Ideas!

P.S.: U can also Answer in GERMAN!

Mark Damrose

unread,
Sep 21, 2002, 4:28:31 PM9/21/02
to
"gcn" <bsd-...@gmx.de> wrote in message news:amic2h$6ckv$1...@isrv4.isc.org...

>
> hy there..
>
> i get an Error while asking for an NSLOOKUP from any Client in my local
> Network.
>
> #nslookup netwall
> *** Can't find server name for address 192.168.0.2: Non-existent
host/domain
> *** Default servers are not available

Before nslookup will try your query it looks up the "reverse". It can't
look up a PTR record for 2.0.168.192.in-addr.arpa.

>
> The Primary Zone is set to gcn.bsd and he resolvs it normally, but ONLY
the
> nslookup fails.
> I know that theres an BUG in NSLOOKUP, but it worked in the last time!

Was the in-addr domain set up correctly the last time?

0 new messages