]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - conf/plugins/resolve.opt
resolve: Make path to resolvconf(8) configurable
[thirdparty/strongswan.git] / conf / plugins / resolve.opt
index ce65eff9e1492cfd74121612abff0e3f3516db4e..089576102f25a62b7e91eb5b378e4fa598904dbb 100644 (file)
@@ -1,5 +1,5 @@
 charon.plugins.resolve.file = /etc/resolv.conf
-       File where to add DNS server entries.
+       File where to add DNS server entries if not using resolvconf(8).
 
 charon.plugins.resolve.resolvconf.iface_prefix = lo.inet.ipsec.
        Prefix used for interface names sent to resolvconf(8).
@@ -9,3 +9,13 @@ charon.plugins.resolve.resolvconf.iface_prefix = lo.inet.ipsec.
        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.