commit 387ec8dbe85c9d8f109dc3fbfd142ea9d47cfd35
parent b53e5bfe875d673fc8a57a4766d7af6fc1b3e074
Author: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Date: Sat, 10 Jan 2015 11:30:44 +0100
openconnect: automatically enable rebind for DNS servers sent by VPN server
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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