diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index e12c53cc..d60f8820 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -588,6 +588,12 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: # Run local DNS resolver `unbound`. # `resolvconf` takes care of setting up /etc/resolv.conf # to use 127.0.0.1 as the resolver. + systemd.service( + name="Disable nsd if it's running, so it doesn't block port 53", + service="nsd.service", + running=False, + enabled=False, + ) apt.packages( name="Install unbound", packages=["unbound", "unbound-anchor", "dnsutils"],