From e410fa7c8d3b39687e3255010abf089b2f50b7cf Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 7 May 2023 16:47:23 +0900 Subject: [PATCH] Revert "coredns listen on 53" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ea75a82a20d5c0d0bcacb389161faaa055ccd14e. ホスト側と競合して名前解決に失敗することがあるようなのでやめる。 ; Conflicts: ; etc/coredns/Corefile --- compose.yml | 2 -- etc/coredns/Corefile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index ad15c97..d64b620 100644 --- a/compose.yml +++ b/compose.yml @@ -20,8 +20,6 @@ services: restart: unless-stopped expose: ["443"] ports: - - "53:53/udp" - - "53:53/tcp" - "853:853" - "127.0.0.1:9153:9153" volumes: diff --git a/etc/coredns/Corefile b/etc/coredns/Corefile index 7edecb8..c2db39c 100644 --- a/etc/coredns/Corefile +++ b/etc/coredns/Corefile @@ -1,4 +1,4 @@ -https://. tls://. . { +https://. tls://. { tls /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.crt /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.fogtype.com/dns.fogtype.com.key reload prometheus 0.0.0.0:9153