oznu / docker-cloudflare-ddns

A small amd64/ARM/ARM64 Docker image that allows you to use CloudFlare as a DDNS / DynDNS Provider.
https://hub.docker.com/r/oznu/cloudflare-ddns/
GNU General Public License v3.0
1.08k stars 219 forks source link

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

Closed DesertCookie closed 4 years ago

DesertCookie commented 4 years ago

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 4 years ago

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[bot] commented 4 years ago

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[bot] commented 4 years ago

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.

damianon commented 2 years ago

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)