Subject: question about identifying a name server
To: None <tech-net@netbsd.org>
From: Roger Fischer <rogerf1@mac.com>
List: tech-net
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

Thanks,
Roger


Here's the output of nslookup.

max# nslookup
*** Can't find server name for address 192.168.0.1: Non-existent host/domain
Default Server:  ns1.surfside.net
Address:  216.89.24.3

> server 192.168.0.1
Default Server:  [192.168.0.1]
Address:  192.168.0.1

> nslookup www.netbsd.org
Server:  nbwww.isc.org
Address:  204.152.186.171
Aliases:  www.netbsd.org


Here's my /etc/hosts and /etc/resolv.conf

#/etc/hosts
# contains mappings if IP addresses to hostnames
127.0.0.1       localhost
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
~

# /etc/resolv.conf
lookup file bind
domain fisch.net
nameserver 192.168.0.1
nameserver 216.89.24.3
nameserver 209.144.50.138