1 .\" Copyright (c) 2001 Giorgos Keramidas <keramida@freebsd.org>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $FreeBSD: src/share/man/man5/host.conf.5,v 1.1.2.2 2002/02/12 10:12:13 ru Exp $
26 .\" $DragonFly: src/share/man/man5/host.conf.5,v 1.4 2007/05/17 08:19:01 swildner Exp $
28 .\" Note: The date here should be updated whenever a non-trivial
29 .\" change is made to the manual page.
35 .Nd resolver services configuration file
41 file holds part of the configuration for the resolver of
43 It describes what services (eg. DNS or
45 the C library resolving routines
48 will use, and their order of use, when resolving host names or addresses.
50 The format of this file is human readable, and easy to modify with the
51 text editor of your choice.
54 in the first column are comments and are ignored.
55 The rest of the lines may contain any number of service names,
56 separated by any number of colons
62 or whitespace (tab, space and newline characters).
63 .Ss Valid Service Names
64 Service names that are recognized as valid in
67 .Bl -tag -width ".Li yellowpages"
72 This service makes the resolver use Internet Domain System (DNS) for
73 resolving hostnames and addresses.
74 The DNS resolver configuration is
84 When this service name is used in
86 name and address lookups are done by using the local hosts database.
87 The local hosts database is described in
96 When service name is used in
98 the resolver uses YP/NIS for making lookups of hostnames and
100 The YP/NIS system is described in
110 .Bl -tag -width ".Pa host.conf"
112 The services configuration file resides in
116 .Xr gethostbyname 3 ,