openconnect: automatically enable rebind for DNS servers sent by VPN server

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos 2015-01-10 11:30:44 +01:00
parent b53e5bfe87
commit 387ec8dbe8

View file

@ -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