History log of /freebsd-10.0-release/etc/hosts
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 109997 28-Jan-2003 dbaker

Re-add information for applying for IP space from a registry since that
hasn't been included since the ancient rs.internic.net address was
removed.

Offer the option of the five regional registries.

MFC after: 3 days


# 87683 11-Dec-2001 rwatson

- Improve line-wrapping and spacing so as to improve readability.
- Add instructions regarding replacing 'my.domain', as this has come up
on freebsd-questions.
- Remove reference to rs.internic.net/templates, as that directory no
longer exists. Instead, encourage them gently to talk to their network
provider.

MFC after: 1 week


# 84133 29-Sep-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


# 65532 06-Sep-2000 nectar

Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD


# 64664 15-Aug-2000 itojun

reorder "localhost" entry, to prefer ::1 than 127.0.0.1.


# 57231 15-Feb-2000 shin

Add IPv6 loopback entry into src/etc/hosts.

Missing IPv6 loopback name record cause name resolving lock
on INET6 enabled systems in some cases.
So define it.

Approved by: jkh


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 35229 16-Apr-1998 joerg

Add `myname.my.domain' as another alias for `localhost'. We set this
as the initial generic hostname if the user didn't setup any NIC, but
failure to resolve this name results in XF86Setup not being able to
run.

Reported by: Lutz Zienert <luzi@interface-business.de>


# 23037 23-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 14726 20-Mar-1996 adam

refer to RFC1918 for private networks, instead of obsoleted RFC1597


# 7708 09-Apr-1995 rgrimes

This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.


# 1774 24-Jun-1994 wollman

Fixed spelling errors.


# 1676 04-Jun-1994 phk

Added reference to RFC 1597 about "private-net" IP#'s. The following numbers
will never be routed over the InterNet:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255


# 748 11-Nov-1993 wollman

Added RCS Id. Also changed comment to indicate that /etc/host.conf
determines when and how this file will be consulted. Added comment to
the effect that (1) zero is not a vaild network number and (2) please
get a valid network number assigned by your provider or by the Internet
Registry.


# 38 20-Jun-1993 rgrimes

This commit was generated by cvs2svn to compensate for changes in r37,
which included commits to RCS files with non-trunk default branches.


# 37 20-Jun-1993 rgrimes

Initial import of 386BSD 0.1 othersrc/etc