openconnect: automatically enable rebind for DNS servers sent by VPN server
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 10 Jan 2015 10:30:44 +0000 (11:30 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 10 Jan 2015 10:30:44 +0000 (11:30 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
net/openconnect/files/vpnc-script

index 1217eea8905abe3805ec28e4b87971cd71a5d6b8..c6007ab8562427645b24d4fe868f7883ffbab13c 100755 (executable)
@@ -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