Searched hist:84133 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/etc/
H A Dhostsdiff 84133 Sat Sep 29 10:20:08 MDT 2001 ru Backout revision 1.9 that added `myname.my.domain' as another alias for
`localhost'. If your /etc/nsswitch.conf has ``hosts: files dns'', and
you changed `myname.my.domain' in /etc/hosts to match hostname(1), and
you run inetd(8) with the -l option, any connect to `myname' using its
real IP address through inetd(8), e.g. `ftp -a myname', will spam your
/var/log/messages with:

inetd[PID]: warning: /etc/hosts.allow, line 23: host name/name mismatch: myname.my.domain != localhost

This is especially bad for -STABLE, where /etc/host.conf defaults to
"files first then DNS" resolution order.

Noticed by: Igor Kucherenko <kivvy@sunbay.com>
MFC after: 1 week

Completed in 118 milliseconds