Disabilitare systemd-resolv

Da ElettraWiki.
Versione del 4 dic 2025 alle 08:57 di Skid (discussione | contributi) (Creata pagina con " Disable any service that is running on this port. It's usually systemd-resolved. Here I make sure that you have stopped the systemd-resolved service. I'm going to also mask it so it doesn't auto start on reboot. sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo systemctl mask systemd-resolved To undo what you did: sudo systemctl unmask systemd-resolved sudo systemctl enable systemd-resolved sudo systemctl start systemd-resolved Also s...")
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)


Disable any service that is running on this port. It's usually systemd-resolved.

Here I make sure that you have stopped the systemd-resolved service. I'm going to also mask it so it doesn't auto start on reboot.

sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo systemctl mask systemd-resolved To undo what you did:

sudo systemctl unmask systemd-resolved sudo systemctl enable systemd-resolved sudo systemctl start systemd-resolved Also sudo update-rc.d systemd-resolved disable might also stop it from auto starting on boot but I haven't tested it. Use defaults instead of disable to undo the command.

Note that systemd-resolved is an important component for name resolution. If you don't have any name resolution service properly running and configured you might encounter Temporary failure in name resolution.