diff options
author | nate <nate@FreeBSD.org> | 1993-07-29 18:30:36 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1993-07-29 18:30:36 +0000 |
commit | 45365d726752b224b759fd83e32f0c40027b98f4 (patch) | |
tree | c01ef53f038ee515e1e25c21c22295616b0528e2 | |
parent | bbcccbf030d824db44efc97ba60f746ad422e669 (diff) | |
download | FreeBSD-src-45365d726752b224b759fd83e32f0c40027b98f4.zip FreeBSD-src-45365d726752b224b759fd83e32f0c40027b98f4.tar.gz |
Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.
-rw-r--r-- | etc/Makefile | 4 | ||||
-rw-r--r-- | etc/host.conf | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile index 838a537..b516ea1 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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 diff --git a/etc/host.conf b/etc/host.conf new file mode 100644 index 0000000..bda5254 --- /dev/null +++ b/etc/host.conf @@ -0,0 +1,4 @@ +# Default is to use the nameserver first +bind +# If that doesn't work, then try the /etc/hosts file +hosts |