Since my college is using this horrible Cisco AnyConnect VPN, I am trying to find my way around their client software and discovered
openconnect. So far it works great and thanks to a different question here on StackExchange, I managed to make it stop routing all my traffic through the VPN by default and instead only send college-related traffic through the VPN.
openconnect still sends all my DNS queries to the college's nameserver, as I can read in
/etc/resolv.conf. Now, because I rather use my own DNS resolver, I want to stop
openconnect from changing the DNS settings. I can set the
INTERNAL_IP4_DNS variable which I could dynamically set through the wrapper-script I created for the routing, but that doesn't completely solve my problem, since it still modifies the file and adds the search domain from my college.
Is there a way to stop
openconnect from doing that without manipulating the vpnc-script?