Identify local WAN IP using Cloudflare DNS


I have to check my WAN IP address to update an A record which points to the public IP address of my home, and I always use OpenDNS solution this way:

dig +short

Can you please provide a solution to do it using DoH with Cloudflare?

Best regards

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.