mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
Newer releases of systemd contain a change that removes not the part after the first dot but the part after the last when determining the interface name (apparently some interface names actually contain a dot). This changes the default prefix to only contain one dot and avoids the dots added by IPv4 addresses to create a unique interface/protocol for each DNS server (it also replaces the `:` in IPv6 addresses with something that might cause less conflicts). References strongswan/strongswan#1353
22 lines
942 B
Plaintext
22 lines
942 B
Plaintext
charon.plugins.resolve.file = /etc/resolv.conf
|
|
File where to add DNS server entries if not using resolvconf(8).
|
|
|
|
charon.plugins.resolve.resolvconf.iface_prefix = lo.ipsec
|
|
Prefix used for interface names sent to resolvconf(8).
|
|
|
|
Prefix used for interface names sent to **resolvconf**(8). The nameserver
|
|
address is appended to this prefix to make it unique. The result has to be
|
|
a valid interface name according to the rules defined by resolvconf. Also,
|
|
it should have a high priority according to the order defined in
|
|
**interface-order**(5).
|
|
|
|
charon.plugins.resolve.resolvconf.path = /sbin/resolvconf
|
|
Path/command for resolvconf(8).
|
|
|
|
Path/command for **resolvconf**(8). The command is executed by a shell, so
|
|
"resolvconf" will work if it's in $PATH of the daemon.
|
|
|
|
If not configured, **resolvconf**(8) will be used if found at the default
|
|
location. Otherwise, the file in _charon.plugins.resolve.file_ will be
|
|
modfied directly.
|