To force all dns lookups to go only to the link created via openvpn, and not to all links simultaneously, I add to add the following to my config file:
dhcp-option DOMAIN-ROUTE .
Also I am using this script: https://github.com/jonathanio/update-systemd-resolved
See my full explanation here: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624317/comments/42
To force all dns lookups to go only to the link created via openvpn, and not to all links simultaneously, I add to add the following to my config file:
dhcp-option DOMAIN-ROUTE .
Also I am using this script: https:/ /github. com/jonathanio/ update- systemd- resolved
See my full explanation here: /bugs.launchpad .net/ubuntu/ +source/ systemd/ +bug/1624317/ comments/ 42
https:/