Subject: dns with no network
To: None <netbsd-help@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 08/03/2000 15:47:51
I am hunting for what looks suspiciously like a DNS timeout on a
NetBSD-1.4Y/i386 box. Ethernet card unplugged but configured, hostname ebw.

no resolv.conf.

nsswitch.conf:

group:	files
hosts:	files 
password:	files
shells:	files

hosts:

127.0.0.1	localhost
192.168.0.1	ebw
192.168.0.2	ebw2
192.168.0.3	winpc

Problem application: Netscape 4.73, BSDi binary => have

options         COMPAT_NOMID    # compatibility with 386BSD, BSDI, NetBSD 0.8,
options         COMPAT_12       # NetBSD 1.2,
options         COMPAT_13       # NetBSD 1.3,
options         COMPAT_14       # NetBSD 1.4,
options         COMPAT_43       # and 4.3BSD
options         COMPAT_AOUT     # binary compat for NetBSD a.out binaries

telnet ebw 80
GET /

works perfectly.

netscape waits an age, in a similar way to eg "host ebw".

netscape http://192.168.0.1/

works quickly => it must be netscape and DNS.

Does the following make sense?
netscape is a BSDi binary => somehow doesn't call gethostbyname ?! At
least not ours? So nsswitch.conf doesn't enter the picture?

Thoughts, hints, tips?

Cheers,

Patrick