diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-06 17:55:39 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-06 17:55:39 +0100 |
commit | 68153b894f7f227d4e7714c6d138454df521d31c (patch) | |
tree | b97371fdcadbc478da471ab1b10621017b20fd83 /nixos/common.nix | |
parent | 751261487ea1b628b7d683be4a0b23ac234be86a (diff) | |
download | user-config-68153b894f7f227d4e7714c6d138454df521d31c.tar.gz user-config-68153b894f7f227d4e7714c6d138454df521d31c.zip |
remove unbound dns resolver on local pcs
Diffstat (limited to 'nixos/common.nix')
-rw-r--r-- | nixos/common.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/nixos/common.nix b/nixos/common.nix index 729e0d9..9ae7a60 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -32,27 +32,6 @@ networking.networkmanager.enable = true; - services.unbound = - let - alfisTld = [ "anon." "btn." "conf." "index." "merch." "mirror." "mob." "screen." "srv." "ygg." ]; - in { - enable = true; - resolveLocalQueries = lib.mkDefault true; - settings = { - server = { - log-servfail = true; - domain-insecure = alfisTld; - }; - forward-zone = map (tld: { - name = tld; - forward-addr = "324:71e:281a:9ed3::53"; - forward-tcp-upstream = false; - forward-tls-upstream = false; - }) alfisTld; - }; - }; - services.resolved.enable = false; - # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 2022 # openssh |