Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2020-11-10 05:05:32
Size: 354
Comment:
Revision 5 as of 2023-06-22 20:23:49
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).


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"


CategoryRicottone

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