Resolvconf

Resolvconf

In Linux and related computer operating systems, the resolvconf program keeps track of system information about the currently available nameservers. It should not be confused with the configuration file resolv.conf, which unfortunately has a nearly identical name.

Before a computer can connect to an external network resource (say, for example, a web server), it must have a means of converting any alpha-numeric names (e.g. "wikipedia.org") into numeric network addresses (e.g. "66.230.200.10"). (The Internet uses these structured numeric IP addresses as network addresses.)

The configuration file resolv.conf normally contains information about the nameservers to be used by the system. However, when multiple programs need to dynamically modify the resolv.conf configuration file they can step on each other and the file can become out-of-sync. The resolvconf program addresses this problem. It acts as an intermediary between programs that supply nameserver information (e.g. dhcp clients) and programs that use nameserver information (e.g. resolver).

When resolvconf is properly installed, the resolv.conf configuration file at /etc/resolv.conf is replaced by a symbolic link to /etc/resolvconf/run/resolv.conf and the resolver instead uses the dynamically generated resolver configuration file at /etc/resolvconf/run/resolv.conf.

The resolvconf program is only necessary when a system has multiple programs that need to dynamically modify the nameserver information. In a simple system where the nameservers do not change often or are only changed by one program, the resolv.conf configuration file is adequate.

External links

* [http://packages.qa.debian.org/r/resolvconf.html resolvconf] . Original implementation.
* [http://roy.marples.name/projects/openresolv openresolv] . Compatible implementation.

* [http://www.clab.it/cgi-bin/man/man2html?resolvconf+8 man page] . "resolvconf".
* [http://docs.sun.com/app/docs/doc/805-3176/6j31fl7ma?q=resolv.conf&a=view docs.sun.com] . "Solaris 2.7 "resolv.conf" man page".


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Resolv.conf — In Unix and related computer operating systems, the resolv.conf configuration file contains information that allows a computer connected to the Internet to convert alpha numeric names into the numeric IP addresses that are required for access to… …   Wikipedia

  • Name server — In computing, a name server (also spelled nameserver) is a program or computer server that implements a name service protocol. It maps a human recognizable identifier to a system internal, often numeric, identification or addressing component.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”