From 5dd91f74b16a8115b2743fc65b921afe66c95d27 Mon Sep 17 00:00:00 2001 From: ashisgreat22 Date: Wed, 18 Mar 2026 20:58:07 +0100 Subject: [PATCH] fix(adguard): resolve port 53 conflict Change AdGuard Home DNS listener to bind to 127.0.0.1:5353 to avoid conflicting with existing services on port 53, since we only expose DoH via Nginx. --- modules/adguard.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/adguard.nix b/modules/adguard.nix index cc8e16c..3b517e9 100644 --- a/modules/adguard.nix +++ b/modules/adguard.nix @@ -73,6 +73,8 @@ in port = cfg.port; settings = { dns = { + bind_hosts = [ "127.0.0.1" ]; + port = 5353; upstream_dns = [ cfg.upstreamDoh ]; bootstrap_dns = cfg.bootstrapDns; querylog_enabled = true;