Skip to content

API guides/IP, DNS, and HTTP

Free

DNS lookup API (DNS-over-HTTPS)

Resolve A, AAAA, MX, TXT and more with Cloudflare DNS-over-HTTPS. Free, HTTPS, JSON. No zone-file builder.

Check official docs

1 provider · 4 min · Limits change — verify before you ship

IP, DNS, and HTTP

What this is for

PureDevKit’s DNS builder only composes records. For a live answer from the public internet, DNS-over-HTTPS (DoH) is the browser-friendly option. Cloudflare documents a JSON form of that API.

Cloudflare DNS-over-HTTPS

Free

GET https://cloudflare-dns.com/dns-query?name={host}&type={TYPE}

Official docs

HTTPS

Yes

API key

No key

CORS

Usually yes

Use

Free tier

Limits. Public resolver. Follow Cloudflare’s current 1.1.1.1 terms. Cache TTLs; do not use as a DNS flood tool.

Commercial. Public resolver for end-user DNS. Read Cloudflare’s 1.1.1.1 policies.

Note. Status 0 is NOERROR. MX/TXT live in Answer[].data. This is not AXFR or DNSSEC-as-a-service.

curl -sS -H "accept: application/dns-json" \
  "https://cloudflare-dns.com/dns-query?name=example.com&type=A"

PureDevKit does not host or proxy these APIs. Pricing, rate limits, CORS, authentication, and JSON shapes can change without notice. Always confirm the current rules on the provider’s official documentation before you ship.