Show HN: Using Cloudflare 1.1.1.1 DNS over HTTPS API to bulk search domain TLDs

supersaas.dev

7 points by fayazara 9 hours ago

I found out Cloudflare has a DNS over HTTPS api via 1.1.1.1 resolver, figured I'd make a small tool out of it, as somene who keeps checking domain names for side projects which I never build, this kinda helps me look for something.

It's not fully accurate, because it returns unavailable even for parked pages, which technically are available, but works for me.

It just checks for A records via this endpoint https://cloudflare-dns.com/dns-query?name=${domain}&type=A

Just make sure to pass this header - "application/dns-json"

Airyisland an hour ago

I previously also made a domain name availability checking tool, but it only used DNS queries as first step. For more accurate results, it still needs to rely on WHOIS. https://query.domains

simjnd 5 hours ago

I typed "test.io" in the input box and it checked for "test.io.org", "test.io.com" and even "test.io.io" but not "test.io".