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 <[email protected]> --- vpnc-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpnc-script b/vpnc-script index 6a55546..b185ad2 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 } -- 2.14.1 _______________________________________________ openconnect-devel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/openconnect-devel
