From: Robin H. Johnson Date: Wed, 20 Jun 2018 06:26:37 +0000 (+0000) Subject: resolvconf: set search instead of domain X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1c16c53c5aa6695f74fa337a9829a739f1ccedd7;p=users%2Fdwmw2%2Fvpnc-scripts.git resolvconf: set search instead of domain Some vpn clients pass multiple domains for DNS search scope, which requires that we use search rather than domain. The generic path was already using search, so just switch the resolvconf path to also use search. Signed-off-by: Robin H. Johnson Signed-off-by: David Woodhouse --- diff --git a/vpnc-script b/vpnc-script index 7b7823f..a046e65 100755 --- a/vpnc-script +++ b/vpnc-script @@ -682,7 +682,7 @@ nameserver $i" done if [ -n "$CISCO_DEF_DOMAIN" ]; then NEW_RESOLVCONF="$NEW_RESOLVCONF -domain $CISCO_DEF_DOMAIN" +search $CISCO_DEF_DOMAIN" fi echo "$NEW_RESOLVCONF" | /sbin/resolvconf -a $TUNDEV }