Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2020-11-10 05:05:32
Size: 354
Comment:
Revision 6 as of 2023-06-22 20:26:37
Size: 896
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= resolvconf.conf = = ResolvConf.Conf =

The [[OpenResolv|resolvconf]] '''configuration file''', typically found at `/etc/resolvconf.conf`, configures the generation of the [[Linux/ResolvConf|resolver configuration file]].
Line 11: Line 13:
This configuration would be used for a system running [[Dnsmasq|dnsmasq]] for DNS caching.
Line 12: Line 16:
resolv_conf=/etc/resolv.conf
name_servers=127.0.0.1
# Use the local name server
name_servers="::1 127.0.0.1"
resolv_conf_options="trust-ad"

# Generate `dnsmasq(8)` configuration
dnsmasq_conf=/etc/dnsmasq-conf.conf
dnsmasq_resolv=/etc/dnsmasq-resolv.conf
Line 22: Line 31:
`resolvconf.conf` is a shell script. For example, to pass a list of values, use a quoted space-delimited list. `resolvconf.conf(5)` is a shell script. For example, to pass a list of values, use a quoted space-delimited list.
Line 28: Line 37:
----



== See also ==

[[https://man.archlinux.org/man/resolvconf.conf.5|resolvconf.conf(5)]]

ResolvConf.Conf

The resolvconf configuration file, typically found at /etc/resolvconf.conf, configures the generation of the resolver configuration file.


Example

This configuration would be used for a system running dnsmasq for DNS caching.

# Use the local name server
name_servers="::1 127.0.0.1"
resolv_conf_options="trust-ad"

# Generate `dnsmasq(8)` configuration
dnsmasq_conf=/etc/dnsmasq-conf.conf
dnsmasq_resolv=/etc/dnsmasq-resolv.conf


Syntax

resolvconf.conf(5) is a shell script. For example, to pass a list of values, use a quoted space-delimited list.

name_servers="127.0.0.1 ::1"


See also

resolvconf.conf(5)


CategoryRicottone

Linux/ResolvConfConf (last edited 2023-06-22 20:26:37 by DominicRicottone)