From f90ae0b1b4019ff916aa8ab1cd64d30de2c70fc0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 4 May 2024 12:19:00 +0100 Subject: [PATCH] Use port 53053 for coredns docker proxy Otherwise it causes annoying issues with systemd-resolved and mdns --- ansible/roles/coredns_docker_proxy/files/docker-compose.yml | 2 +- ansible/roles/nginx/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/coredns_docker_proxy/files/docker-compose.yml b/ansible/roles/coredns_docker_proxy/files/docker-compose.yml index 2e82ba5..58b50bf 100644 --- a/ansible/roles/coredns_docker_proxy/files/docker-compose.yml +++ b/ansible/roles/coredns_docker_proxy/files/docker-compose.yml @@ -6,7 +6,7 @@ services: volumes: - ./Corefile:/home/nonroot/Corefile:ro ports: - - "{{ private_ip }}:5353:53/udp" + - "{{ private_ip }}:53053:53/udp" networks: - default - coredns diff --git a/ansible/roles/nginx/defaults/main.yml b/ansible/roles/nginx/defaults/main.yml index 6d8af40..bc8db4a 100644 --- a/ansible/roles/nginx/defaults/main.yml +++ b/ansible/roles/nginx/defaults/main.yml @@ -1,2 +1,2 @@ nginx_https_redirect: false -docker_resolver_address: "{{ private_ip }}:5353" +docker_resolver_address: "{{ private_ip }}:53053"