From: krowitz@QUAKE.MIT.EDU (David Krowitz)
Newsgroups: comp.sys.apollo
Subject: Re:  nmconfig  -h hostent_bind  Help!!???
Date: 3 Sep 92 18:56:48 GMT
Distribution: world
Organization: The Internet

Many versions of the BIND (named) software don't ever
look at the /etc/hosts file. I know that the SR10.2
version on the Apollos certainly doesn't seem to do
so, and the Sun/OS version (without using NIS, blech!)
doesn't either.

On all of our machines, the /etc/resolv.conf file
points to the name-daemon running on the local host
*and* the /etc/named.boot runs a cache-only server
*and* the /etc/named.ca initial-cache file contains
our campus-wide name servers *and* (this is the trick)
our locally added list of host names. Even if a particular
machine can't talk to any other host, it can see its
own name-daemon, and it at least knows the names of
our other local machines from the /etc/named.ca file.

Here's our setup:


============= cut here---/etc/resolv.conf =============
mit.edu
127.0.0.1
domain mit.edu
nameserver 127.0.0.1
============= cut here---/etc/named.boot ==============
;;;
;;;     boot file for name server (on mit.edu)
;;;
;;;     $Source: /source/config/common/RCS/named.boot,v $
;;;     $Header: named.boot,v 1.1 87/07/06 11:17:32 treese Exp $
;;;
;;; type          domain          source file or host
;;;
domain		MIT.EDU
cache           .               /etc/named.ca
============= cut here---/etc/named.ca ================
;;;
;;; Initial cache data for root domain servers.  This is static data
;;; maintained by hand for MIT.EDU nameservers.
;;; MIT Network Services.  NETWORK-REQUEST@MIT.EDU
;;; Last verified 27 September, 1989, Ron Hoffmann, hoffmann@MIT.EDU
;;; Last verified 27 March, 1990, Ron Hoffmann.
;;; Last verified 7 April, 1990, Ron Hoffmann.
;;;
;;; Root nameservers as per NS.NIC.DDN.MIL on 4/7/1990
;;;
.			99999999	IN	NS	NS.NIC.DDN.MIL.
			99999999	IN	NS	NS.NASA.GOV.
			99999999	IN	NS	GUNTER-ADAM.AF.MIL.
			99999999	IN	NS	TERP.UMD.EDU.
			99999999	IN	NS	C.NYSER.NET.
			99999999	IN	NS	AOS.BRL.MIL.
			99999999	IN	NS	A.ISI.EDU.
NS.NIC.DDN.MIL.		99999999	IN	A	192.67.67.53
NS.NASA.GOV.		99999999	IN	A	128.102.16.10
NS.NASA.GOV.		99999999	IN	A	192.52.195.10
GUNTER-ADAM.AF.MIL.	99999999	IN	A	26.1.0.13
TERP.UMD.EDU.		99999999	IN	A	128.8.10.90
C.NYSER.NET.		99999999	IN	A	192.33.4.12
AOS.BRL.MIL.		99999999	IN	A	128.20.1.2
AOS.BRL.MIL.		99999999	IN	A	192.5.25.82
A.ISI.EDU.		99999999	IN	A	128.9.0.107
A.ISI.EDU.		99999999	IN	A	26.3.0.103
;;;
;;; List of MIT.EDU nameservers
;;;
MIT.EDU.		99999999	IN	NS	W20NS.MIT.EDU.
MIT.EDU.		99999999	IN	NS	STRAWB.MIT.EDU.
MIT.EDU.		99999999	IN	NS	LITHIUM.LCS.MIT.EDU.
MIT.EDU.		99999999	IN	NS	BITSY.MIT.EDU.
W20NS.MIT.EDU.		99999999	IN	A	18.70.0.160
STRAWB.MIT.EDU.		99999999	IN	A	18.71.0.151
LITHIUM.LCS.MIT.EDU.	99999999	IN	A	18.26.0.121
BITSY.MIT.EDU.		99999999	IN	A	18.72.0.3
;;;
;;; Inverse resolution entries
;;;
18.IN-ADDR.ARPA.	99999999	IN	NS	W20NS.MIT.EDU.
18.IN-ADDR.ARPA.	99999999	IN	NS	STRAWB.MIT.EDU.
18.IN-ADDR.ARPA.	99999999	IN	NS	LITHIUM.LCS.MIT.EDU.
18.IN-ADDR.ARPA.	99999999	IN	NS	BITSY.MIT.EDU.
;;;
;;; End of initial MIT standard cache data.
;;;
;;;
;;; MIT Earth, Athmospheric, & Planetary Sciences Dept.
;;; local cache entries for building 54 ethernet (subnet 18.83)
;;;
AIRY		IN	A	18.83.0.12
CMPO		IN	A	18.83.0.20
EVEREST		IN	A	18.83.0.21
MANTLE		IN	A	18.83.0.27
CORE		IN	A	18.83.0.28
QUAKE		IN	A	18.83.0.29
SEGOVIA		IN	A	18.83.0.100
ASTRON		IN	A	18.83.0.101
POINCARE	IN	A	18.83.0.102
SYNOPTIC	IN	A	18.83.0.103
PIMMS		IN	A	18.83.0.104
OCEAN		IN	A	18.83.0.105
SLOUGH		IN	A	18.83.0.106
LAGOON		IN	A	18.83.0.107
PUDDLE		IN	A	18.83.0.108
RICHTER		IN	A	18.83.0.109
CONRAD		IN	A	18.83.0.110
PETROS		IN	A	18.83.0.113
POND		IN	A	18.83.0.114
CORDOBA		IN	A	18.83.0.138
SEVILLA		IN	A	18.83.0.139
CMPO2		IN	A	18.83.0.141
PRATT		IN	A	18.83.0.144
MIST		IN	A	18.83.0.145
CHANDLER	IN	A	18.83.0.146
MEINESZ		IN	A	18.83.0.147
BAY		IN	A	18.83.0.148
GULF		IN	A	18.83.0.149
MEAD		IN	A	18.83.0.152
VENERA		IN	A	18.83.0.158
FREYJA		IN	A	18.83.0.161
POOH		IN	A	18.83.0.171
GRABAU          IN      A       18.83.0.175
CLAIRAUT	IN	A	18.83.0.176
OLAF		IN	A	18.83.0.177
LAVINIA		IN	A	18.83.0.184
PLUME		IN	A	18.83.0.186
MIRE		IN	A	18.83.0.188
CRUST		IN	A	18.83.0.189
PREY		IN	A	18.83.0.190
FJORD		IN	A	18.83.0.192
STRATA          IN      A       18.83.0.199
DEVANA          IN      A       18.83.0.204
;;;
;;; MIT Earth, Athmospheric, & Planetary Sciences Dept.
;;; local cache entries for building 54 Apollo token ring net (subnet 18.138)
;;;
BENIOFF		IN	A	18.138.0.1
LYELL		IN	A	18.138.0.100
BULLEN		IN	A	18.138.0.101
HUTTON		IN	A	18.138.0.102
EWING		IN	A	18.138.0.103
LOVE		IN	A	18.138.0.104
HOOKE		IN	A	18.138.0.105
MAXWELL		IN	A	18.138.0.106
MILNE		IN	A	18.138.0.107
BENO		IN	A	18.138.0.108
HESS		IN	A	18.138.0.109
HOLMES		IN	A	18.138.0.110
WEGENER		IN	A	18.138.0.111
GILBERT		IN	A	18.138.0.112
MOHO		IN	A	18.138.0.113
WATSON		IN	A	18.138.0.114
MENARD		IN	A	18.138.0.115
RAYLEIGH	IN	A	18.138.0.117
HALLEY		IN	A	18.138.0.118
BOWIE		IN	A	18.138.0.119
DARWIN		IN	A	18.138.0.121
CONRAD		IN	A	18.138.0.122
;;;
;;; End of initial cache data.
;;;






== Dave Krowitz
Newsgroups: comp.sys.apollo