TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

11 pointsby fayazara7 months ago
I found out Cloudflare has a DNS over HTTPS api via 1.1.1.1 resolver, figured I&#x27;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.<p>It&#x27;s not fully accurate, because it returns unavailable even for parked pages, which technically are available, but works for me.<p>It just checks for A records via this endpoint <a href="https:&#x2F;&#x2F;cloudflare-dns.com&#x2F;dns-query?name=${domain}&amp;type=A" rel="nofollow">https:&#x2F;&#x2F;cloudflare-dns.com&#x2F;dns-query?name=${domain}&amp;type=A</a><p>Just make sure to pass this header - &quot;application&#x2F;dns-json&quot;

3 comments

Airyisland7 months 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. <a href="https:&#x2F;&#x2F;query.domains" rel="nofollow">https:&#x2F;&#x2F;query.domains</a>
simjnd7 months ago
I typed &quot;test.io&quot; in the input box and it checked for &quot;test.io.org&quot;, &quot;test.io.com&quot; and even &quot;test.io.io&quot; but not &quot;test.io&quot;.
评论 #41722364 未加载
stets7 months ago
Cool but...it doesn&#x27;t work, like pizza returns pizza.org and pizza.net as free.