Added a default host.conf (gethostnamadr() name resolver) which declares

to resolve all names via bind first and then try /etc/hosts.
This commit is contained in:
Nate Williams 1993-07-29 18:30:36 +00:00
parent 02e451a8a9
commit 222c6cb757
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207
2 changed files with 6 additions and 2 deletions

View File

@ -10,8 +10,8 @@ NOOBJ= oobj
BINOWN= root
BINGRP= wheel
BIN1= aliases csh.cshrc csh.login csh.logout dm.conf \
ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
man.conf motd myname netstart phones \
ftpusers gettytab group hosts host.conf hosts.equiv hosts.lpd \
inetd.conf man.conf motd myname netstart phones \
printcap protocols rc rc.local remote security services shells \
syslog.conf ttys etc.${MACHINE}/disktab rpc

4
etc/host.conf Normal file
View File

@ -0,0 +1,4 @@
# Default is to use the nameserver first
bind
# If that doesn't work, then try the /etc/hosts file
hosts