Does the Cloudflare Dynamic DNS Docker setup support both IPv4 and IPv6 addresses, and how is it configured?

Responsive Ad Header

Question

Grade: Education Subject: Support
Does the Cloudflare Dynamic DNS Docker setup support both IPv4 and IPv6 addresses, and how is it configured?
Asked by:
108 Viewed 108 Answers

Answer (108)

Best Answer
(803)
Yes, most popular Cloudflare Dynamic DNS Docker images, like `oznu/cloudflare-ddns`, fully support both IPv4 and IPv6 addresses. By default, they often detect both types of public IP addresses and attempt to update corresponding A (IPv4) and AAAA (IPv6) records if configured. You can explicitly specify separate record names for each using environment variables, for example: `-e CF_RECORD_NAME='home.yourdomain.com'` (for IPv4) `-e CF_RECORD_NAME_IPV6='home.yourdomain.com'` (for IPv6 on the same record) or for distinct records: `-e CF_RECORD_NAME='ipv4.yourdomain.com'` `-e CF_RECORD_NAME_IPV6='ipv6.yourdomain.com'` The container will typically detect your public IPv4 and IPv6 addresses automatically. Ensure your network environment provides public IPv6 if you expect AAAA record updates.