oznu/docker-cloudflare-ddns

Updating AAAA record: "connection timed out; no servers could be reached"

DesertCookie opened this issue · 4 comments

I get the following error from my container designated to update my IPv6 with cloudflare: ERROR: Failed to update CloudFlare DNS record rhprivate.de from 2000:16b8:55e4:1300:4972:6e17:cb16:5dd3 to ;; connection timed out; no servers could be reached.

The container is created in docker-compose using the following config:

cloudflare_ddns_v6:
  container_name: cloudflare_ddns_v6
  image: oznu/cloudflare-ddns:latest
  restart: always
  network_mode: host
  environment:
    - ZONE=example.com
    - API_KEY=abcdefghijklmnopqrstuvwxyz
    - PROXIED=TRUE
    - RRTYPE=AAAA

I have a container using a nearly identical configuration for IPv4 updates that works mostly flawlessly; it's only problem: despite of the flag PROXIED=TRUE it always changes the A record to be unproxied.

Kab1r commented

Try using lowercase, surrounded by quotes:

cloudflare_ddns_v6:
  container_name: cloudflare_ddns_v6
  image: oznu/cloudflare-ddns:latest
  restart: always
  network_mode: host
  environment:
    - ZONE=example.com
    - API_KEY=abcdefghijklmnopqrstuvwxyz
    - PROXIED='true'
    - RRTYPE=AAAA
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I have the same error. is there anything else that needs to be configured for ipv6 to work? (like ipv6 dns server, or custom lookup cmd)