I periodically experience a disconnection with my laptop. The connection period lasts about 3-6 minutes. I know for certain that the WiFi works fine.

Using the command sudo journalctl --since="-2 minutes" I find that a recurring line is:

(...) Using degraded feature set UDP instead of TCP for DNS server

What should I do ? I cannot work since the connection conditions are definitely unstable. I have recently noticed that it is a quite common problem.

I have ubuntu whose version is 21.04, and my laptop is an Acer Aspire 3 A315-56 with a WiFi connection.

  • 2
    Your DNS resolver (maybe systemd-resolved?) might be normally using DNSSEC/EDNS0, and using a TCP connection to DNS server because of this. When you have a connection problem, it notices TCP connection is failing and reverts to UDP and basic DNS protocol. But if you still experience a disconnection, that probably means the reversion to UDP is not helping, perhaps because the actual connection to the destination website (or whatever) still uses TCP and still fails. What is your basis for the conclusion that WiFi works fine? (I'm asking to exactly identify the known-good element(s).)
    – telcoM
    Sep 16, 2021 at 18:15
  • 2
    Things to try: (1) Use another DNS server than that of your ISP (example), (2) Disable IPv6 in your local network, (3) Set DNSSEC=no in /etc/systemd/resolved.conf.
    – harrymc
    Sep 16, 2021 at 19:46
  • @telcoM I can observe a download plot from another machine. This download is continuous with a constant download speed of 80 kb/s (which is the expected speed). In this way I can observe hypothetical WiFi crashes if any.
    – Siderius
    Sep 17, 2021 at 15:40
  • I have noticed that resolvconf was missing. After that, as @harrymc suggested I have set DNSSEC=off (commenting it out) through the command: sudo nano /etc/systemd/resolved.conf After that the cmd sudo systemctl restart systemd-resolved.service
    – Siderius
    Sep 17, 2021 at 16:29
  • Did this change anything? (Or you don't know yet)
    – harrymc
    Sep 17, 2021 at 16:36

2 Answers 2


I had advised doing the following:

  1. Set DNSSEC=no in /etc/systemd/resolved.conf
  2. Use another DNS server than that of the ISP (such as Google Public DNS)
  3. Disable IPv6 in the local network (is perhaps not helpful).

The poster has reported doing this:

I have set DNSSEC=no (commenting it out) through the command:

sudo nano /etc/systemd/resolved.conf

After that the cmd:

sudo systemctl restart systemd-resolved.service

with a reboot.

For changing the DNS servers, the poster has followed the article
How to Set DNS Nameservers on Ubuntu 18.04.

For the moment, the poster's system seems stable.


Try this.

sudo dhclient -r wlo1 && sudo dhclient wlo1

replace wlo1 with your network name.

In my case it was because the office firewall was blocking my IP address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.