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.07k stars 213 forks source link

Switch from OpenDNS to Cloudflare to lookup IP addresses #19

Closed JakeWharton closed 4 years ago

JakeWharton commented 4 years ago

This reduces dependence on services other than Cloudflare itself.

dig @1.1.1.1 ch txt whoami.cloudflare +short

The slight downside is that this returns a text value which is quoted compared to the A value which is not.

JakeWharton commented 4 years ago

This info comes from https://community.cloudflare.com/t/can-1-1-1-1-be-used-to-find-out-ones-public-ip-address/14971/7

JakeWharton commented 4 years ago

IPv6:

dig @2606:4700:4700::1111 -6 ch txt whoami.cloudflare +short