History log of /src/lib/libc/net/hosts (Results 1 – 19 of 19)
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 455e0b9b 28-Feb-2022 Pedro F. Giffuni <pfg@FreeBSD.org>

/etc/hosts: Wording changes to better match RFC 1918

Summary: No functional change.

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D34391


# 03452a49 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17164

show more ...


# b86cf90b 28-Jan-2003 Daniel Baker <dbaker@FreeBSD.org>

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.

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

show more ...


# fcc1eaf4 11-Dec-2001 Robert Watson <rwatson@FreeBSD.org>

- 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

- 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

show more ...


# 8afccfa9 29-Sep-2001 Ruslan Ermilov <ru@FreeBSD.org>

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 ho

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

show more ...


# 248aee62 06-Sep-2000 Jacques Vidrine <nectar@FreeBSD.org>

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.

= Hesio

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

show more ...


# 791132f4 15-Aug-2000 Jun-ichiro itojun Hagino <itojun@FreeBSD.org>

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


# f5abb846 15-Feb-2000 Yoshinobu Inoue <shin@FreeBSD.org>

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


# 9b7a44a6 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# a37834b2 16-Apr-1998 Joerg Wunsch <joerg@FreeBSD.org>

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

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>

show more ...


# 79403fe3 23-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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

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.

show more ...


# 06cff5d2 20-Mar-1996 Adam David <adam@FreeBSD.org>

refer to RFC1918 for private networks, instead of obsoleted RFC1597


# 1f55ebbc 09-Apr-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

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


# cd10dd06 24-Jun-1994 Garrett Wollman <wollman@FreeBSD.org>

Fixed spelling errors.


# 5a3b854f 04-Jun-1994 Poul-Henning Kamp <phk@FreeBSD.org>

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

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

show more ...


# a2afa745 11-Nov-1993 Garrett Wollman <wollman@FreeBSD.org>

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 (

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.

show more ...


# 1bf9d5d9 20-Jun-1993 Rodney W. Grimes <rgrimes@FreeBSD.org>

Initial import of 386BSD 0.1 othersrc/etc