Skip to content

Instantly share code, notes, and snippets.

@jwiegley
Created September 4, 2025 17:04
Show Gist options
  • Select an option

  • Save jwiegley/b4e0f8c33344a54610b7d513c0cede2e to your computer and use it in GitHub Desktop.

Select an option

Save jwiegley/b4e0f8c33344a54610b7d513c0cede2e to your computer and use it in GitHub Desktop.
{
services.technitium-dns-server = {
enable = true;
openFirewall = true;
};
systemd.services.technitium-dns-server.serviceConfig = {
WorkingDirectory = lib.mkForce null;
BindPaths = lib.mkForce null;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 53 5380 ];
allowedUDPPorts = [ 53 ];
interfaces.podman0.allowedUDPPorts = [ 53 ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment