0

This is a follow up question to ping displays "Name or service not known"

My laptop with Arch is connected to a fixed IP LAN with a fixed DNS-server. DNS resolving works after executing

sudo systemctl restart systemd-resolved && sudo systemctl stop systemd-resolved

but I have to re-execute the above command after a few minutes. DNSEC is set to allow-downgrade. How can I avoid having to execute the command every few minutes?

AdminBee
  • 21,637
  • 21
  • 47
  • 71

1 Answers1

0

I'm not familiar with systemd-resolved, but in the normal usage of systemctl you should just want to do the restart command, i.e. sudo systemctl restart systemd-resolved. By including the second half of your command you restart the service and then immediately stop it. Try just restarting it.

Sinc
  • 173
  • 7