mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
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:
parent
bbcccbf030
commit
45365d7267
@ -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
4
etc/host.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user