Rev | Line | |
---|
[9] | 1 | .TH RESOLV.CONF 5
|
---|
| 2 | .SH NAME
|
---|
| 3 | resolv.conf \- Domain Name System resolver configuration
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B /etc/resolv.conf
|
---|
| 6 | .SH DESCRIPTION
|
---|
| 7 | .de SP
|
---|
| 8 | .if t .sp 0.4
|
---|
| 9 | .if n .sp
|
---|
| 10 | ..
|
---|
| 11 | The
|
---|
| 12 | .B /etc/resolv.conf
|
---|
| 13 | is used to configure how the host will use the Domain Name System to resolve
|
---|
| 14 | hostnames to IP addresses. It may contain these two lines:
|
---|
| 15 | .PP
|
---|
| 16 | .RS
|
---|
| 17 | .ta +15n
|
---|
| 18 | nameserver \fIIP-address\fP
|
---|
| 19 | .br
|
---|
| 20 | domain \fIdomain-name\fP
|
---|
| 21 | .RE
|
---|
| 22 | .PP
|
---|
| 23 | The nameserver entry tells the IP address of the host to use for DNS
|
---|
| 24 | queries. If it is set to 127.0.0.1 (which is the default) then the local
|
---|
| 25 | name daemon is used that may use the
|
---|
| 26 | .B /etc/hosts
|
---|
| 27 | database to translate host names. You normally only need a nameserver entry
|
---|
| 28 | if the name server is at the other side of a router. The default
|
---|
| 29 | .B nonamed
|
---|
| 30 | name server can't look beyond the local network.
|
---|
| 31 | .PP
|
---|
| 32 | The domain entry tells the default domain to use for unqualified hostnames.
|
---|
| 33 | This entry is usually not given in which case the domain of the local host
|
---|
| 34 | is used.
|
---|
| 35 | .PP
|
---|
| 36 | The long version of this story can be found in
|
---|
| 37 | .BR resolver (5).
|
---|
| 38 | .SH FILES
|
---|
| 39 | .TP 20n
|
---|
| 40 | /etc/resolv.conf
|
---|
| 41 | DNS resolver configuration file.
|
---|
| 42 | .SH "SEE ALSO"
|
---|
| 43 | .BR resolver (5),
|
---|
| 44 | .BR hosts (5),
|
---|
| 45 | .BR nonamed (8),
|
---|
| 46 | .BR boot (8).
|
---|
| 47 | .SH AUTHOR
|
---|
| 48 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.