From 1de6aefdf4e0ca1db1c8040015e1689889247dcf Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Wed, 18 Aug 2021 21:08:20 +0900 Subject: [PATCH] enable DoT --- docker-compose.yml | 1 + etc/coredns/Corefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8e8431e..9a08d43 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,6 +39,7 @@ services: image: coredns/coredns:1.8.4@sha256:6e5a02c21641597998b4be7cb5eb1e7b02c0d8d23cce4dd09f4682d463798890 restart: unless-stopped expose: ["443"] + ports: ["853:853"] volumes: - ./etc/coredns/Corefile:/Corefile - caddy_data:/var/lib/caddy/data diff --git a/etc/coredns/Corefile b/etc/coredns/Corefile index c8722b1..0af65b1 100644 --- a/etc/coredns/Corefile +++ b/etc/coredns/Corefile @@ -1,4 +1,4 @@ -https://. { +https://. tls://. { tls /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.keiu.net/dns.keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.keiu.net/dns.keiu.net.key forward . /etc/resolv.conf }