[buug] DNS help: tricking my network

Ian Zimmerman itz at speakeasy.org
Tue Sep 10 11:22:53 PDT 2002

jan> nsswitch is a linux/solarisism.

Acutally linux has both nsswitch.conf and host.conf.  The first is
used by the wrapper routines in libc (gethostbyname etc.), the second
by the lower-level resolver library (res_*).  Apparently this means
that with the most common configuration /etc/hosts is searched twice,
once by each level.

Bizarre?  Yes.

Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.

More information about the buug mailing list