add unbound

This commit is contained in:
aykhans committed 2026-11-04 16:49:35 +00:00
1 parent 810d7d96f0
commit 5e683688cf
2 files changed
+21

No files matched your search

+5
View File
@@ -56,3 +56,8 @@ CROWDSEC_API_KEY=
############# Beszel #############
BESZEL_DOMAIN=
############# Unbound #############
UNBOUND_DOMAIN=
# Long random string, without slashes
UNBOUND_DOH_PATH=
+16
View File
@@ -281,6 +281,22 @@
}
}
############## unbound ##############
{$UNBOUND_DOMAIN} {
request_body {
max_size 64KB
}
@doh path /{$UNBOUND_DOH_PATH}
route {
crowdsec
handle @doh {
rewrite * /dns-query
reverse_proxy h2c://unbound:8053
}
respond 404
}
}
import Caddyfile.private
############## beszel ##############