feat: add DNS-over-TLS (853), DNS-over-HTTPS (443), HTTPS web console (53443)

- config.yaml: add ports for DoT, DoH (tcp+udp), HTTPS console with descriptions
- add TLS cert options schema (enable_https, pfx path/password) mapped to HA ssl dir
- Dockerfile: set HTTPS env defaults, fix symlink to -sf
- README: document DoT/DoH setup using HA ACME certs via openssl pfx export
- bump version to 1.1.0
This commit is contained in:
2026-08-07 23:03:52 -04:00
parent 21eb8eadc4
commit a36ffe0b68
3 changed files with 57 additions and 7 deletions

View File

@@ -1,14 +1,12 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base:latest
FROM technitium/dns-server:latest
# Home Assistant add-on requirements
ENV DATA_DIR="/data/dns"
ENV DATA_DIR="/data/dns" \
DNS_SERVER_WEB_SERVICE_HTTPS_PORT=53443 \
DNS_SERVER_WEB_SERVICE_ENABLE_HTTPS=false
# Technitium stores its config in /etc/dns by default; use the add-on data
# directory so settings persist across restarts.
RUN mkdir -p /data/dns && \
ln -s /data/dns /etc/dns
ln -sf /data/dns /etc/dns
# Home Assistant expects a run command via S6/entrypoint; Technitium ships its own.
ENTRYPOINT []
CMD ["dotnet", "DnsServerApp.dll"]