Re:Free DDNS with Cloudflare and a Cronjob
by BasiliusCarver on Saturday July 27, 2024 @09:16PM
(#41090569)
I’ve used this:
dig @1.1.1.1 ch txt whoami.cloudflare +short
[ Parent
| on HN ]
Re:Free DDNS with Cloudflare and a Cronjob
by codetrotter on Sunday July 28, 2024 @08:52AM
(#41092849)
That's pretty neat!
And they offer a similar service on their DNS resolver over IPv6.
This page lists the IPv6 addresses to use when connecting to their resolver over IPv6
https://developers.cloudflare.com/1.1.1.1/ip-addresses/
and with that I just tried
dig @2606:4700:4700::1111 ch txt whoami.cloudflare +short
And it works, returning the IPv6 address that the request came from :)