Size: 783
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: |
## page was renamed from Linux/resolvconf.conf = resolvconf.conf = |
= ResolvConf.Conf = |
Line 4: | Line 3: |
A description of the '''resolvconf''' configuration file (`/etc/resolvconf.conf`). For more details, see `resolvconf.conf(5)`. | The [[OpenResolv|resolvconf]] '''configuration file''', typically found at `/etc/resolvconf.conf`, configures the generation of the [[Linux/ResolvConf|resolver configuration file]]. |
Line 32: | 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 38: | 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.
Contents
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"