I trying to use one preferred dns from my vpn provider, they come randomly in PUSH string.
Sometime it's the right one but often not.
I can extract DNS from vpn-log in right order with "grep" command.
vpn=1
grep -E "dhcp-option DNS" /tmp/vpnclient-$vpn.log | cut -d ' ' -f3 | tail -n 2 | sort...