RESOLVXC.5
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH RESOLV.CONF 5
- .SH NAME
- resolv.conf - Domain Name System resolver configuration
- .SH SYNOPSIS
- .B /etc/resolv.conf
- .SH DESCRIPTION
- .de SP
- .if t .sp 0.4
- .if n .sp
- ..
- The
- .B /etc/resolv.conf
- is used to configure how the host will use the Domain Name System to resolve
- hostnames to IP addresses. It may contain these two lines:
- .PP
- .RS
- .ta +15n
- nameserver fIIP-addressfP
- .br
- domain fIdomain-namefP
- .RE
- .PP
- The nameserver entry tells the IP address of the host to use for DNS
- queries. If it is set to 127.0.0.1 (which is the default) then the local
- name daemon is used that may use the
- .B /etc/hosts
- database to translate host names. You normally only need a nameserver entry
- if the name server is at the other side of a router. The default
- .B nonamed
- name server can't look beyond the local network.
- .PP
- The domain entry tells the default domain to use for unqualified hostnames.
- This entry is usually not given in which case the domain of the local host
- is used.
- .PP
- The long version of this story can be found in
- .BR resolver (5).
- .SH FILES
- .TP 20n
- /etc/resolv.conf
- DNS resolver configuration file.
- .SH "SEE ALSO"
- .BR resolver (5),
- .BR hosts (5),
- .BR nonamed (8),
- .BR boot (8).
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)