summaryrefslogtreecommitdiffstats
path: root/etc/hosts
Commit message (Collapse)AuthorAgeFilesLines
* - Improve line-wrapping and spacing so as to improve readability.rwatson2001-12-111-6/+7
| | | | | | | | | | - 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
* Backout revision 1.9 that added `myname.my.domain' as another alias forru2001-09-291-2/+2
| | | | | | | | | | | | | | | | `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
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* reorder "localhost" entry, to prefer ::1 than 127.0.0.1.itojun2000-08-151-1/+1
|
* Add IPv6 loopback entry into src/etc/hosts.shin2000-02-151-0/+1
| | | | | | | | Missing IPv6 loopback name record cause name resolving lock on INET6 enabled systems in some cases. So define it. Approved by: jkh
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Add `myname.my.domain' as another alias for `localhost'. We set thisjoerg1998-04-161-2/+2
| | | | | | | | 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>
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* refer to RFC1918 for private networks, instead of obsoleted RFC1597adam1996-03-201-2/+2
|
* This is a purely cosmetic clean up. Fix many cut and paste problems thatrgrimes1995-04-091-4/+4
| | | | had turned tabs into spaces.
* Fixed spelling errors.wollman1994-06-241-4/+4
|
* Added reference to RFC 1597 about "private-net" IP#'s. The following numbersphk1994-06-041-4/+12
| | | | | | | 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
* Added RCS Id. Also changed comment to indicate that /etc/host.confwollman1993-11-111-5/+12
| | | | | | | 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.
* Initial import of 386BSD 0.1 othersrc/etcrgrimes1993-06-201-0/+13
OpenPOWER on IntegriCloud