Subject: question about identifying a name server
To: None <email@example.com>
From: Roger Fischer <firstname.lastname@example.org>
Date: 04/04/2000 21:00:10
I've got a question about identifying a name server to use.
I've got my MacBSD box on my local network and it's pointing to my Linux
box running as both my local gateway and a caching only nameserver.
Here's where it's weird. The name server is up and running fine, but my
MacBSD box won't use it. If I do an nslookup, it skips it and goes to the
second one in my resolv.conf, but if I force it to that server it works
fine. Does it matter that I'm running a made up name for my local network?
(is bind trying to do a reverse lookup on my 192.168.x.x network?)
I'm running NetBSD/mac68k 1.4
Here's the output of nslookup.
*** Can't find server name for address 192.168.0.1: Non-existent host/domain
Default Server: ns1.surfside.net
> server 192.168.0.1
Default Server: [192.168.0.1]
> nslookup www.netbsd.org
Here's my /etc/hosts and /etc/resolv.conf
# contains mappings if IP addresses to hostnames
192.168.0.1 pete.fisch.net pete
192.168.0.2 scooter.fisch.net scooter
192.168.0.3 max.fisch.net max
192.168.0.4 mercury.fisch.net mercury
192.168.0.5 pepper.fisch.net pepper
lookup file bind