From 61b7685744041f3184467bd0938e70e8ba4d664a Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 12 Jan 2024 11:21:04 -0800 Subject: [PATCH] Do I have to enable dns per network? --- mail-server.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/mail-server.nix b/mail-server.nix index f060890..5546fa6 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -267,10 +267,22 @@ in { image = { pkgs, ... }: { project.name = "mail-server"; networks = { - external_network.internal = false; - internal_network.internal = true; - redis_network.internal = true; - ldap_network.internal = true; + external_network = { + internal = false; + dns_enabled = true; + }; + internal_network = { + internal = true; + dns_enabled = true; + }; + redis_network = { + internal = true; + dns_enabled = true; + }; + ldap_network = { + internal = true; + dns_enabled = true; + }; }; services = let antivirusPort = 15407;