diff --git a/k8s/cloudflare-ddns.yml b/k8s/cloudflare-ddns.yml index 6084c69..50113c1 100644 --- a/k8s/cloudflare-ddns.yml +++ b/k8s/cloudflare-ddns.yml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cloudflare-ddns + namespace: ddns spec: selector: matchLabels: @@ -13,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