openconnect: automatically enable rebind for DNS servers sent by VPN server
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
b53e5bfe87
commit
387ec8dbe8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue