summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/unbound.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix
index ee361f5f..862df4d1 100644
--- a/modules/unbound.nix
+++ b/modules/unbound.nix
@@ -42,6 +42,10 @@
http-port = 8053;
http-endpoint = "/query";
in {
+ krebs.iana-etc.services.${toString http-port}.tcp = {
+ name = "ub-dns-http";
+ description = "unbound DNS over HTTP (not secure!)";
+ };
services.unbound.package = pkgs.unbound-with-systemd.override {
withDoH = true;
};