From owner-freebsd-bugs Wed Mar 26 00:51:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA26700 for bugs-outgoing; Wed, 26 Mar 1997 00:51:34 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA26693 for ; Wed, 26 Mar 1997 00:51:30 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA23046; Wed, 26 Mar 1997 09:51:26 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA10309; Wed, 26 Mar 1997 09:33:10 +0100 (MET) Message-ID: <19970326093310.VV53458@uriah.heep.sax.de> Date: Wed, 26 Mar 1997 09:33:10 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: jin@george.lbl.gov (Jin Guojun[ITG]) Cc: bugs@freebsd.org Subject: Re: /etc/hosts no longer used for rexec() ? References: <199703260625.WAA15646@george.lbl.gov> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199703260625.WAA15646@george.lbl.gov>; from Jin Guojun[ITG] on Mar 25, 1997 22:25:47 -0800 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Jin Guojun[ITG] wrote: > I have tried the local caching name server (last line) sometimes ago, > but it does not help. We, do have some machines set up like this: > > domain my.domain > nameserver 127.0.0.1 > > with a modified named(8) under solaris system. A caching-only nameserver is insufficient, you still need to increase the priority of /etc/hosts over DNS. What is sufficient however (at least if you occasionally connect to the net), and what i'm running for example is a caching nameserver that's also a secondary for its own zones. Don't forget the reverse mapping however. I prefer this solution much over trusting any /etc/hosts file. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)