Comment 28 for bug 1725840

On Sun, Dec 02, 2018 at 11:59:42AM -0000, Paul Hewlett wrote:
> I recently did an apt update on my laptop running cosmic. DNS was very
> slow and I got the degraded to UDP message. Investigation showed that
> /etc/resolv.conf symlinked:

> lrwxrwxrwx 1 root root 39 Oct 22 2017 /etc/resolv.conf ->
> ../run/systemd/resolve/stub-resolv.conf

> I fixed it by removing the prefixed '..':

> lrwxrwxrwx 1 root root 37 Dec 2 11:54 /etc/resolv.conf ->
> /run/systemd/resolve/stub-resolv.conf

> and all is now good.

There is no reason that using an absolute rather than a relative symlink for
this file would fix "slow" DNS. Those two symlinks point to the same real
file, and either the symlink works and your DNS resolves the same, or the
symlink doesn't work and you get no DNS at all.