Книги автора: Fedora™ Unleashed, 2008 edition
/ Книги автора: Fedora™ Unleashed, 2008 edition
/ honorato bonafe
Книга: Fedora™ Unleashed, 2008 edition
The /etc/host.conf File
The /etc/host.conf
File
The /etc/host.conf
file, known as the resolver configuration file, specifies which services to use for name resolution and the order in which they are to be used. This file has been superseded by /etc/nsswitch.conf
, but is still provided for applications that use other libraries.
By default with Fedora, this file contains the following:
order hosts,bind
The order shown here is to first consult /etc/hosts
for a hostname. If the hostname is found in /etc/hosts
, use the IP address specified there. If the hostname is not found in /etc/hosts
, try to resolve the name with DNS (BIND).
One other option is available, although it is not set by default. This is NIS, which is Sun's Network Information Service.
Похожие страницы
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine
- Appendix E. Other resources and links
- Example NAT machine in theory
- The final stage of our NAT machine
- Compiling the user-land applications
- The conntrack entries
- Untracked connections and the raw table
- Basics of the iptables command
- Other debugging tools
- Setting up user specified chains in the filter table