Comment 3 for bug 1850009

Revision history for this message
Peteris Dzenis (peterdze) wrote :

Hello,

I can confirm this issue: name resolution was not working after upgrading to Ubuntu 19.10. It was possible to fix it until the next reboot (or next networking service restart) by restarting systemd-resolved service. Located the same issue and temporary resolved it by commenting out `if' condition, forcing systemd-resolved service to always reload/restart as it was in previous Ubuntu versions.

These are the changes to /etc/dhcp/dhclient-enter-hooks/resolved file:

--- resolved.original 2019-10-29 15:43:51.940561949 +0200
+++ resolved 2019-10-29 15:44:24.804941675 +0200
@@ -56,9 +56,9 @@

               newstate="$(mktemp)"
               md5sum $statedir/isc-dhcp-v4-$interface.conf $statedir/isc-dhcp-v6-$interface.conf &> $newstate
- if ! cmp $oldstate $newstate; then
+ #if ! cmp $oldstate $newstate; then
                   systemctl try-reload-or-restart systemd-resolved.service
- fi
+ #fi

               rm $oldstate
           }

Best regards,
Peteris