From 387ec8dbe85c9d8f109dc3fbfd142ea9d47cfd35 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 10 Jan 2015 11:30:44 +0100 Subject: [PATCH] openconnect: automatically enable rebind for DNS servers sent by VPN server Signed-off-by: Nikos Mavrogiannopoulos --- net/openconnect/files/vpnc-script | 1 + 1 file changed, 1 insertion(+) diff --git a/net/openconnect/files/vpnc-script b/net/openconnect/files/vpnc-script index 1217eea89..c6007ab85 100755 --- a/net/openconnect/files/vpnc-script +++ b/net/openconnect/files/vpnc-script @@ -92,6 +92,7 @@ do_connect() { if [ -n "$INTERNAL_IP6_DNS" ];then echo "server=/$i/$INTERNAL_IP6_DNS" >> $DNSMASQ_FILE fi + echo "rebind-domain-ok=$i" >> $DNSMASQ_FILE done /etc/init.d/dnsmasq restart else