Skip to content

Commit

Permalink
Fixed unable to resolve api.cloudflare.com, causing API requests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
poul0315 committed Dec 21, 2024
1 parent 35c9b26 commit 13197b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions k8s/cloudflare-ddns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13197b8

Please sign in to comment.