summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-03 15:55:34 +0000
committertv <tv@krebsco.de>2026-12-03 22:38:02 +0000
commit532c5d45687b1a0ca64dcecebee0ba1fa95f0ed4 (patch)
tree0586a711331ed358a6d25973b37051931df3d6fb
parent74e072d878a973b97c080d5654d9f0c374848c68 (diff)
unbound: name the DoH port
-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;
};