From: Nikos Mavrogiannopoulos Date: Sat, 10 Jan 2015 10:30:44 +0000 (+0100) Subject: openconnect: automatically enable rebind for DNS servers sent by VPN server X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=387ec8dbe85c9d8f109dc3fbfd142ea9d47cfd35;p=feed%2Fpackages.git openconnect: automatically enable rebind for DNS servers sent by VPN server Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/net/openconnect/files/vpnc-script b/net/openconnect/files/vpnc-script index 1217eea890..c6007ab856 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