|
|
1.1 ! root 1: .\" Copyright (c) 1986 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)resolver.5 1.6 (Berkeley) 9/14/87 ! 6: .\" ! 7: .TH RESOLVER 5 "September 14, 1987" ! 8: .UC 4 ! 9: .SH NAME ! 10: resolver \- resolver configuration file ! 11: .SH SYNOPSIS ! 12: /etc/resolv.conf ! 13: .SH DESCRIPTION ! 14: .LP ! 15: The resolver configuration file contains information that is read ! 16: by the resolver routines the first time they are invoked by a process. ! 17: The file is designed to be human readable and contains a list of ! 18: name-value pairs that provide various types of resolver information. ! 19: .LP ! 20: On a normally configured system this file should not be necessary. ! 21: The only name server to be queried will be on the local machine and ! 22: the domain name is retrieved from the system. ! 23: .LP ! 24: The different configuration options are: ! 25: .TP ! 26: \fBnameserver\fP ! 27: followed by the Internet address (in dot notation) of a name server ! 28: that the resolver should query. At least one name server should be ! 29: listed. Up to MAXNS (currently 3) name servers may be listed, in that ! 30: case the resolver library queries tries them in the order listed. ! 31: If no \fBnameserver\fP entries are present, ! 32: the default is to use the name server on the local machine. ! 33: (The algorithm used is to try a name server, and if the query times out, ! 34: try the next, until out of name servers, ! 35: then repeat trying all the name servers ! 36: until a maximum number of retries are made). ! 37: .TP ! 38: \fBdomain\fP ! 39: followed by a domain name, that is ! 40: the default domain to append to names that do not have a dot in them. ! 41: If no \fBdomain\fP entries are present, the domain returned by ! 42: \fIgethostname\fP\|(2) is used (everything after the first `.'). ! 43: Finally, if the host name does not contain a domain part, the root ! 44: domain is assumed. ! 45: .LP ! 46: The name value pair must appear on a single line, and the keyword ! 47: (e.g. \fBnameserver\fP) must start the line. The value follows ! 48: the keyword, separated by white space. ! 49: .SH FILES ! 50: .I /etc/resolv.conf ! 51: .SH SEE ALSO ! 52: gethostbyname(3N), resolver(3), named(8) ! 53: .br ! 54: Name Server Operations Guide for BIND
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.