openresolv

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

Although openresolv is most known for allowing multiple applications to modify /etc/resolv.conf, it is currently the only standard way to implement:

Tip: An alternative implementation is systemd-resolvconf, but it can only be used with systemd-resolved.

Installation

Install the openresolv package.

Usage

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

Running will generate /etc/resolv.conf.

Users

DHCP clients:

Network managers:

VPN clients:

Subscribers

openresolv can be configured to pass name servers and search domains to DNS resolvers. The supported resolvers are:

See the official documentation for instructions.

Tips and tricks

Defining multiple values for options

The man page does not mention it, but to define multiple values, for options that support it (e.g. , etc.) in /etc/resolvconf.conf, you need to write them space separated inside quotes. E.g.:

/etc/resolvconf.conf
resolv_conf_options="edns0 single-request"
name_servers="192.168.35.1 fd7b:d0bd:7a6e::1"
gollark: Also, it would probably make the concept pretty meaningless, since arguably... a patent for any new thing would give you a monopoly on that new thing.
gollark: Hmm. I'm not really sure what you would do about that, then. Although it wouldn't be fixed by somehow banning patenting on medical research either.
gollark: Which ones are relevant here, then?
gollark: Require that publicly funded research be... publicly available in some way?
gollark: So maybe stop that rather than all patents for medical things.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.