openresolv

From ArchWiki
Revision as of 09:47, 17 July 2018 by Svinto (talk | contribs) (How to define multiple name-servers in resolvconf.conf)
Jump to: navigation, search

Openresolv is a resolvconf implementation, i.e. a resolv.conf management framework.

Installation

Install the openresolv package.

Usage

Openresolv provides resolvconf(8) and is configured in /etc/resolvconf.conf. See resolvconf.conf(5) for supported options.

Running resolvconf -u will generate /etc/resolv.conf.

Openresolv can additionally be configured to pass DNS server addresses to unbound, dnsmasq, BIND and pdnsd resolvers. See the official documentation for instructions.

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Provide common usage examples. (Discuss in Talk:Openresolv#)

Users

Stand-alone DHCP clients:

  • dhcpcd has a hook which uses resolvconf if it is installed.

Network managers:

VPN clients:

Tips and tricks

Defining multiple name-servers

The man page doesn't mention it, but to define multiple name-servers in resolvconf.conf you need to write them space separated inside quotes.

/etc/resolvconf.conf
name_servers="dns1.example.com dns2.example.com dns3.example.com"