Skip to content
GET /api/v1/dns-lookup

DNS Lookup Tool

Enter a domain name to query its DNS records. You can look up A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, and PTR records. Defaults to all record types if you don't specify one. Essential for DNS debugging, email setup verification, or domain migration.

string required

A domain name, or an IP address (IPv4 or IPv6) for a reverse PTR lookup. Underscore names like _dmarc.example.com work

string

Leave empty to query A, AAAA, MX, TXT, NS and CNAME

X-Sandbox-Remaining: - get an api key

returns

data.records
One object per record with type, host, TTL and value fields. MX records are sorted by priority.
data.record_count
How many records came back.
data.exists
False when the name doesn't exist at all (NXDOMAIN). True when it exists, even without records of this type.
data.types_queried
The record types that were looked up.
data.partial
True when some record types timed out, listed in timed_out.
response awaiting request sending
Fill in the fields and send a request. The response lands here.

Run it from your code

A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.

$ curl -s "https://apixies.io/api/v1/dns-lookup?domain=cloudflare.com" \
    -H "X-API-Key: $APIXIES_KEY" | jq '.data.records'

questions

What DNS record types are available?

A (IPv4), AAAA (IPv6), MX (mail servers), TXT (text records like SPF/DKIM), CNAME (aliases), NS (name servers), SOA (zone authority), SRV (service records), CAA (certificate authority), and PTR (reverse DNS).

Why don't I see the DNS changes I just made?

DNS changes take time to propagate. TTL (Time To Live) values on existing records determine how long resolvers cache old data. Changes typically propagate within minutes to 48 hours depending on the TTL.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy