Open DNS API

Queries

This is a list of all calls you can make to the API. If you're used to the old StatDNS interface, you'll feel right at home.

What you need How to get it
Host Address (A records) https://api.exana.io/dns/google.com/a
IPv6 Host Address (AAAA records) https://api.exana.io/dns/google.com/aaaa
Canonical Name (CNAME records) https://api.exana.io/dns/google.com/cname
Mail eXchange (MX records) https://api.exana.io/dns/google.com/mx
Name Servers (NS records) https://api.exana.io/dns/google.com/ns
Sender Policy Framework (SPF records) https://api.exana.io/dns/google.com/spf
Certificate (CERT records) https://api.exana.io/dns/google.com/cert
Text (TXT records) https://api.exana.io/dns/google.com/txt
DNS Key record (DNSKEY records) https://api.exana.io/dns/google.com/dnskey
DNSSEC Lookaside Validation record (DLV records) https://api.exana.io/dns/google.com/dlv
IPSec Key (IPSECKEY records) https://api.exana.io/dns/google.com/ipseckey

Errors

Talking trash to the API will make it talk trash back at you. Here are a couple insults to get you prepared.

{"error":{"code":400,"message":"ERROR : Input string is not a well-formed domain name."}}

{"error":{"code":400,"message":"ERROR : Input string is not a valid IP address."}}

Limits

The service is free and open for anyone to use, just like it used to be.

Updates

If you use the API in production, consider leaving your email address with us - we promise to only send crucial updates concerning the API and notices in case of downtime. We're talking one to three emails a year.

.
In memoriam statsdns.com – hosted by exana.io, based on RRDA, released by StatsDNS itself.
Have questions? Let us know.

Here are some other cool things we do.