Email DNS
Look up DNS records
Query A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV and PTR records of any name over DNS-over-HTTPS.
How to read the result
The header of the card shows the record type you asked for and the response code, such as MX NOERROR. Below it, each answer gets one row.
| Field | What it means | What to do with it |
|---|---|---|
| Header: type and response code | The type you queried and the DNS response code: NOERROR, NXDOMAIN, SERVFAIL, REFUSED, or TIMEOUT when no resolver answered in time. |
Only NOERROR means the answer is complete. See the response code table below for the others. |
| Answer row label | The type of the answer and its TTL in seconds, such as A · TTL 300. A query can return types you did not ask for, like the CNAME that leads to the A record. |
Read the rows top to bottom: a CNAME row comes before the records of its target. |
| TTL | The seconds left before the resolver discards its cached copy and asks the authoritative servers again. It counts down between lookups. | A low number means a fresh copy arrives soon. Before a planned change, lower the TTL at the source. |
| Answer row value | The record data: an address, a host name, text, or several fields for MX, SOA, CAA and SRV. Host names are shown lowercase without the trailing dot. TXT strings are joined. | Compare it with what you published at your DNS provider. |
| Answers: None | No records came back. With NOERROR, the name exists but holds no record of this type, which RFC 2308 calls NODATA. |
Try another type. For underscored names, check where the record was created. |
| Bulk CSV upload | Locked. Verifies a CSV of email addresses, including the MX, SPF and DMARC checks of each domain. There is no bulk mode for raw DNS queries. | Needs a free account. |
| API access | Locked. The email endpoint uses the same resolvers for the MX, SPF and DMARC checks of each address it verifies, for 1 credit per address. Raw DNS queries are not an API endpoint. | Needs a free account, which includes 100 credits every month. |
Each lookup counts toward the 10 free checks a day you get without an account.
How the check works
- You pick one of ten record types: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV or PTR.
- The tool reads the name. From a URL it keeps the host, and from an email address the part after the @. Labels starting with an underscore, such as
_dmarcor_sip._tcp, are accepted. Internationalized names are converted to their ASCII form, starting withxn--. - For PTR, you type the IP address and the tool builds the reverse name: the four octets of an IPv4 address reversed under
in-addr.arpa, or the 32 hexadecimal nibbles of an IPv6 address reversed underip6.arpa(RFC 3596). - The query goes over DNS over HTTPS to Cloudflare's resolver, 1.1.1.1. If it errors, times out or returns
SERVFAILorREFUSED, the same query goes to Google Public DNS. When both fail, the card shows the failure. - The answers are displayed in the order the resolver returned them, with their remaining TTL.
What the lookup cannot show you:
- The authoritative copy. You see a recursive resolver's view, which can be up to one TTL older than what your DNS provider serves now.
- Other caches. Your ISP's resolver, your company's resolver and your own computer each keep separate copies with separate ages.
- Internal names. Records that exist only inside a company network are invisible from the internet.
- DNSSEC details. Both resolvers validate DNSSEC and turn a validation failure into
SERVFAIL, but signatures and keys are not displayed. - Other record types. Types outside the ten listed, such as HTTPS or DS, cannot be queried here.
Which record answers which question
| Question | Record type to query | Name to query |
|---|---|---|
| Where does this website point? | A and AAAA, following any CNAME | The host, such as www.example.com |
| Who runs this domain's DNS? | NS | The domain, such as example.com |
| Where does mail for this domain go? | MX | The part after the @ |
| Did my domain verification token go live? | TXT | The name the service told you to use |
| Which certificate authorities may issue for this domain? | CAA | The domain, then its parents if it has none |
| What name does this IP address claim? | PTR | The IP address itself |
| Where is a service such as SIP or XMPP? | SRV | _service._protocol.example.com |
| Who maintains the zone, and is my edit published? | SOA | The domain; check the serial |
The CAA row has a twist: RFC 8659 tells certificate authorities to climb the tree. With no CAA record at shop.example.com, they use the one at example.com.
DNS record types
| Type | What it holds | Example value | Defined in |
|---|---|---|---|
| A | An IPv4 address | 192.0.2.10 |
RFC 1035 |
| AAAA | An IPv6 address | 2001:db8::10 |
RFC 3596 |
| CNAME | An alias pointing to another name | www.example.com to example.net |
RFC 1034 |
| MX | A mail server and its preference | 10 mx1.example.com |
RFC 1035, RFC 5321 |
| NS | A name server for the zone | ns1.example.net |
RFC 1035 |
| TXT | Free text: SPF, DMARC, DKIM keys, ownership proofs | v=spf1 -all |
RFC 1035 |
| SOA | The zone's primary server, contact and timers | ns1.example.net hostmaster.example.com 2026112301 7200 3600 1209600 3600 |
RFC 1035 |
| CAA | Certificate authorities allowed to issue | 0 issue "ca.example.net" |
RFC 8659 |
| SRV | Host and port of a service | 10 60 5060 sip1.example.com at _sip._tcp.example.com |
RFC 2782 |
| PTR | The name behind an IP address | mail.example.com at 10.2.0.192.in-addr.arpa |
RFC 1035 |
A few rules worth knowing. A TXT record is made of strings of at most 255 characters each (RFC 1035), which is why long SPF records and DKIM keys come split. An SRV record reads as priority, weight, port and target: lower priority wins, and the weight spreads load among targets of equal priority (RFC 2782). An MX or NS value must not be an alias (RFC 2181 section 10.3).
Response codes
| Code | Number | What it means | What to do |
|---|---|---|---|
NOERROR |
0 | The query succeeded. With records, they are the answer; without, the name exists but has no record of this type. | Read the answers, or try another type. |
NXDOMAIN |
3 | The name does not exist, for any type. Under RFC 8020, nothing exists below it either. | Check the spelling and the domain's registration. |
SERVFAIL |
2 | The resolver could not get a usable answer: unreachable name servers, a broken delegation or a DNSSEC validation failure. | Retry, then check the domain's name servers and DNSSEC setup. |
REFUSED |
5 | A server declined to answer for policy reasons. | Check that the domain's name servers are configured for the zone. |
TIMEOUT |
None | Not a DNS code: no resolver answered within our time limit. | Retry. Persistent timeouts point to slow or unreachable name servers. |
The numbers are the RCODE values of RFC 1035 section 4.1.1. Other codes exist, such as FORMERR (1) and NOTIMP (4); this tool reports them as SERVFAIL.
TTL, caching and propagation
DNS changes are not pushed anywhere. A resolver that fetched your record keeps it for its TTL and only then asks again. What people call propagation is the time it takes every cache holding the old record to expire.
| Situation | Longest wait | Why |
|---|---|---|
| You change an existing record | The old record's TTL | Resolvers serve their cached copy until it expires. |
| You create a record that someone already looked up | The negative caching time | Resolvers cache the empty answer for the smaller of the SOA record's TTL and its minimum field (RFC 2308). |
| You change name servers at the registrar | The TTL of the NS records in the parent zone | The parent zone controls the delegation, not your own zone. |
Plan changes around this. Lower the TTL at least one old TTL period ahead, so every cache picks up the short value before the switch. Make the change, check it here, then raise the TTL again. Avoid looking up a new name before you create it: the empty answer you cause gets cached.
SOA fields
The SOA record describes the zone itself. Its seven fields are defined in RFC 1035 section 3.3.13.
| Field | Example | Meaning |
|---|---|---|
| MNAME | ns1.example.net |
The primary name server of the zone. |
| RNAME | hostmaster.example.com |
The contact mailbox, with the @ written as the first dot: hostmaster@example.com. |
| SERIAL | 2026112301 |
Version of the zone. It must increase with every change so secondaries pick it up. |
| REFRESH | 7200 |
Seconds between checks by secondary servers. |
| RETRY | 3600 |
Seconds before a secondary retries a failed check. |
| EXPIRE | 1209600 |
Seconds after which a secondary that cannot reach the primary stops answering for the zone. |
| MINIMUM | 3600 |
Used for negative caching: how long resolvers may remember that a name or record does not exist (RFC 2308). |
Forward-confirmed reverse DNS
A receiving mail server can look up the PTR record of a connecting IP address, then the A or AAAA record of the name it returns. When both point at each other, the address has forward-confirmed reverse DNS. Google's email sender guidelines require valid forward and reverse DNS for sending IP addresses. You can test it with two lookups here:
- Query PTR with the sending IP address, for example
203.0.113.42. Note the name, such asmail.example.com. - Query A (or AAAA for an IPv6 address) for that name. It must return
203.0.113.42.
If the PTR is missing or generic, ask whoever holds the address block, such as your hosting provider, to set it. You cannot publish it in your own domain's zone.
Verify a DNS change before you rely on it
Use this order whenever a change has to work the first time, whether it is a domain ownership token, a new server address or an email record:
- Look up the record before the change and note its TTL. That is your worst-case wait.
- Make the change at your DNS provider, then look up the name here. If you still see the old value, the remaining TTL tells you how long until the resolver fetches the new one.
- Check the exact name. A DNS panel that appends your domain turns a full name into
example.com.example.com: the intended name then returns NODATA or NXDOMAIN while the wrong one exists. - For a CNAME, follow the chain to the final A or AAAA records and confirm they point where you expect.
- For email records, use the dedicated checkers, which parse the record and flag errors: MX lookup, SPF checker, DMARC checker and DKIM checker. The SPF, DKIM and DMARC guide explains how the three fit together.
- Before you issue a TLS certificate, check CAA. A record that omits your certificate authority blocks issuance.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/email \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"email":"jane@exmaple.com","mode":"fast"}'const response = await fetch("https://api.qelka.com/v1/email", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
email: "jane@exmaple.com",
mode: "fast",
}),
});
const result = await response.json();{
"id": "lkp_01M84QZDZG5EJDJJE338NYR2ZA",
"object": "email",
"input": "jane@exmaple.com",
"status": "unknown",
"reason": "smtp_not_checked",
"did_you_mean": "jane@example.com",
"checks": {
"syntax": true,
"mx": true,
"smtp": null,
"catch_all": null,
"disposable": false,
"role": false,
"free_provider": false
},
"domain": {
"name": "exmaple.com",
"spf": true,
"dmarc": true
},
"score": 55,
"credits_used": 1,
"cached": false
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
What does NXDOMAIN mean?
_dmarc.example.com, that the record was created under the right zone. RFC 8020 adds that nothing exists below a name that returns NXDOMAIN, so its subdomains are gone too.What does SERVFAIL mean?
What does REFUSED mean in a DNS lookup?
What does NOERROR with no answers mean?
What is a TTL in DNS?
How long does DNS propagation take?
Why do I see a different answer than someone else?
Can I put a CNAME on my root domain?
www is fine.How do I do a reverse DNS lookup?
203.0.113.42 becomes 42.113.0.203.in-addr.arpa, and an IPv6 address becomes 32 reversed nibbles under ip6.arpa (RFC 3596). The PTR record is set by whoever holds the address block, such as your hosting or network provider, not by the owner of the domain it names.What is a CAA record?
0 issue "ca.example.net". Public certificate authorities must check it before issuing. issuewild covers wildcard certificates and iodef gives an address for violation reports. With no CAA record, any authority may issue.What does the serial number in an SOA record mean?
2026112301. A serial that never changes after edits points to secondaries serving stale data.Which DNS resolver does this tool use?
What is DNS over HTTPS?
How do I look up a DMARC or DKIM record with this tool?
_dmarc.example.com for DMARC, or selector._domainkey.example.com for a DKIM key. Underscores are accepted. To have the record parsed and checked tag by tag, use the DMARC checker or the DKIM checker, which also measure key length and apply the organizational domain fallback.Why does an A lookup return a CNAME first?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.