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.<p>It'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://cloudflare-dns.com/dns-query?name=${domain}&type=A" rel="nofollow">https://cloudflare-dns.com/dns-query?name=${domain}&type=A</a><p>Just make sure to pass this header - "application/dns-json"
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://query.domains" rel="nofollow">https://query.domains</a>
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".