• SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. octopus

    How to choose DNS from openvpn PUSH string

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