systemd-resolved updated by network-manager-strongswan needed to restart to use the new dns servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
strongswan (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04.1 / bionic
systemd:
Installé : 237-3ubuntu10.3
Fresh install on a VM, was facing a bug when connecting to strongswan ikev2 vpn (https:/
-> Updated from cosmic the required packages for the VPN that has the bug fixed (5.6.2-2):
network-
Installé : 1.4.4-1
Candidat : 1.4.4-1
Table de version :
*** 1.4.4-1 300
300 http://
100 /var/lib/
1.4.2-2 500
500 http://
libcharon-
Installé : 5.6.2-2ubuntu1
Candidat : 5.6.2-2ubuntu1
Table de version :
*** 5.6.2-2ubuntu1 300
300 http://
100 /var/lib/
5.6.2-1ubuntu2 500
500 http://
libcharon-
Installé : 5.6.2-2ubuntu1
Candidat : 5.6.2-2ubuntu1
Table de version :
*** 5.6.2-2ubuntu1 300
300 http://
100 /var/lib/
5.6.2-1ubuntu2 500
500 http://
libstrongswan-
Installé : 5.6.2-2ubuntu1
Candidat : 5.6.2-2ubuntu1
Table de version :
*** 5.6.2-2ubuntu1 300
300 http://
100 /var/lib/
5.6.2-1ubuntu2 500
500 http://
libstrongswan-
Installé : 5.6.2-2ubuntu1
Candidat : 5.6.2-2ubuntu1
Table de version :
*** 5.6.2-2ubuntu1 300
300 http://
100 /var/lib/
5.6.2-1ubuntu2 500
500 http://
Before connecting the VPN, `systemd-resolve --status` shows :
DNS Servers: 192.168.1.254 # my home box resolver
After connecting :
DNS Servers: 10.0.0.254 # DNS resolver provided by the VPN server
This seems OK, but the resolution fails as it is still using the local DNS :
systemd-
After issuing `systemctl reload-or-restart systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
systemd-
I was hoping that `systemd-resolved` could find the new DNS without restarting its service after connecting to the VPN.
Thanks for reading
Best Regards,
Vincent
Status changed to 'Confirmed' because the bug affects multiple users.