From 13197b8b03d924e09b29541629773456f0543996 Mon Sep 17 00:00:00 2001 From: poul0315 Date: Fri, 20 Dec 2024 18:49:53 -0800 Subject: [PATCH] Fixed unable to resolve api.cloudflare.com, causing API requests to fail --- k8s/cloudflare-ddns.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/k8s/cloudflare-ddns.yml b/k8s/cloudflare-ddns.yml index 3ab4557..50113c1 100644 --- a/k8s/cloudflare-ddns.yml +++ b/k8s/cloudflare-ddns.yml @@ -14,6 +14,12 @@ spec: app: cloudflare-ddns spec: + dnsPolicy: None # bypass CoreDNS + dnsConfig: + nameservers: + - 1.1.1.1 # cloudflare DNS + searches: + - api.cloudflare.com containers: - name: cloudflare-ddns image: timothyjmiller/cloudflare-ddns:latest