Size: 354
Comment:
|
Size: 783
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from Linux/resolvconf.conf | |
Line 2: | Line 3: |
A description of the '''resolvconf''' configuration file (`/etc/resolvconf.conf`). For more details, see `resolvconf.conf(5)`. |
|
Line 11: | Line 14: |
This configuration would be used for a system running [[Dnsmasq|dnsmasq]] for DNS caching. |
|
Line 12: | Line 17: |
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 |
resolvconf.conf
A description of the resolvconf configuration file (/etc/resolvconf.conf). For more details, see resolvconf.conf(5).
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 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"