From 222c6cb75723246f90586720def04a40a665720d Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Thu, 29 Jul 1993 18:30:36 +0000 Subject: [PATCH] Added a default host.conf (gethostnamadr() name resolver) which declares to resolve all names via bind first and then try /etc/hosts. --- etc/Makefile | 4 ++-- etc/host.conf | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 etc/host.conf diff --git a/etc/Makefile b/etc/Makefile index 838a5376e11..b516ea12001 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 00000000000..bda52547860 --- /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