aboutsummaryrefslogtreecommitdiff
path: root/etc/hosts
Commit message (Collapse)AuthorAgeFilesLines
* Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/Brad Davis2018-09-171-31/+0
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=338729
* Re-add information for applying for IP space from a registry since thatDaniel Baker2003-01-281-1/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=109997
* - Improve line-wrapping and spacing so as to improve readability.Robert Watson2001-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 Notes: svn path=/head/; revision=87683
* Backout revision 1.9 that added `myname.my.domain' as another alias forRuslan Ermilov2001-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 Notes: svn path=/head/; revision=84133
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you canJacques Vidrine2000-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 Notes: svn path=/head/; revision=65532
* reorder "localhost" entry, to prefer ::1 than 127.0.0.1.Jun-ichiro itojun Hagino2000-08-151-1/+1
| | | | Notes: svn path=/head/; revision=64664
* Add IPv6 loopback entry into src/etc/hosts.Yoshinobu Inoue2000-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 Notes: svn path=/head/; revision=57231
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Add `myname.my.domain' as another alias for `localhost'. We set thisJoerg Wunsch1998-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> Notes: svn path=/head/; revision=35229
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-231-1/+1
| | | | Notes: svn path=/head/; revision=23037
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* refer to RFC1918 for private networks, instead of obsoleted RFC1597Adam David1996-03-201-2/+2
| | | | Notes: svn path=/head/; revision=14726
* This is a purely cosmetic clean up. Fix many cut and paste problems thatRodney W. Grimes1995-04-091-4/+4
| | | | | | | had turned tabs into spaces. Notes: svn path=/head/; revision=7708
* Fixed spelling errors.Garrett Wollman1994-06-241-4/+4
| | | | Notes: svn path=/head/; revision=1774
* Added reference to RFC 1597 about "private-net" IP#'s. The following numbersPoul-Henning Kamp1994-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 Notes: svn path=/head/; revision=1676
* Added RCS Id. Also changed comment to indicate that /etc/host.confGarrett Wollman1993-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. Notes: svn path=/head/; revision=748
* Initial import of 386BSD 0.1 othersrc/etcRodney W. Grimes1993-06-201-0/+13
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=37