aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1993-07-29 18:30:36 +0000
committerNate Williams <nate@FreeBSD.org>1993-07-29 18:30:36 +0000
commit222c6cb75723246f90586720def04a40a665720d (patch)
treec01ef53f038ee515e1e25c21c22295616b0528e2 /etc
parent02e451a8a9dab12f8d59f0f92a1fcedd8773c6b5 (diff)
downloadsrc-222c6cb75723246f90586720def04a40a665720d.tar.gz
src-222c6cb75723246f90586720def04a40a665720d.zip
Added a default host.conf (gethostnamadr() name resolver) which declares
to resolve all names via bind first and then try /etc/hosts.
Notes
Notes: svn path=/head/; revision=207
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile4
-rw-r--r--etc/host.conf4
2 files changed, 6 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 838a5376e111..b516ea12001b 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 000000000000..bda52547860f
--- /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