I have had the same exact problem since I have upgraded to 17.10. In my case it does not even involve the VPN. When I come back from work, if I had suspended the laptop without restarting it, then I cannot connect to the computers from work.
If I restart resolvconf with:
$ sudo /etc/init.d/resolvconf restart
The problem persists.
If I edit the file /run/resolvconf/interface/systemd-resolved with
$ sudo emacs -nw /run/resolvconf/interface/systemd-resolved
... remove the work computer name in the line starting with search ...
$ sudo /etc/init.d/resolvconf restart
Then it works fine.
I hope this bug is well understood and the fix is on its way. It seems like a bit of a corner case, but it is indeed a serious bug.
I have had the same exact problem since I have upgraded to 17.10. In my case it does not even involve the VPN. When I come back from work, if I had suspended the laptop without restarting it, then I cannot connect to the computers from work.
If I restart resolvconf with: d/resolvconf restart
$ sudo /etc/init.
The problem persists.
If I edit the file /run/resolvconf /interface/ systemd- resolved with /interface/ systemd- resolved d/resolvconf restart
$ sudo emacs -nw /run/resolvconf
... remove the work computer name in the line starting with search ...
$ sudo /etc/init.
Then it works fine.
I hope this bug is well understood and the fix is on its way. It seems like a bit of a corner case, but it is indeed a serious bug.