Querying whoami.cloudflare. via DNS-over-HTTPS gives 0.0.0.0

Since around 2021/11/10, querying whoami.cloudflare. via DNS-over-HTTS has been giving 0.0.0.0 instead of my public IP address. Here is the command to quickly check the result using the dog tool:

dog --class=CH --type=TXT -H @https://1.1.1.1/dns-query whoami.cloudflare.

I wonder if this is the expected result? If not, how should I report the issue?

PS: As a workaround, I (re)implemented a parser for https://1.1.1.1/cdn-cgi/trace to get my public IP address, but I still prefer the DoH solution if it is available.

Hi! This is not a publicly announced resource, but seems like it’s useful so perhaps it should be and we’ll look into fixing it.

2 Likes

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

Hi @insy85i37d43, this bug has been fixed.