DNS Lookup — MX, SPF, DMARC Checker
Look up a domain's DNS records: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, and check SPF and DMARC email setup. Free, fast, with API.
Developer API
Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.
Endpoint
POST https://sieutool.net/api/v1/tools/dns-lookupAuth: send the X-API-Key header — create a free key in Account → API keys.
- Rate limit10 requests/min
- Daily quota300 requests/day
- PriceFree · up to 1 items/request
This tool calls external services, so its rate limit is lower than the default and there is a shared hourly cap across all customers; the calling machine's IP is passed to the source and results are cached for up to 1 hour. Shared cap reached or source paused → 503 with Retry-After.
Request parameters
| Parameter | Type | Description |
|---|---|---|
target * | string | Tên miền |
type | "all" | "a" | "aaaa" | "cname" | "mx" | "ns" | "txt" | "soa" | "caa" | Loại bản ghi(default "all") |
* required. Send JSON in the body, Content-Type: application/json.
Code examples
curl -X POST 'https://sieutool.net/api/v1/tools/dns-lookup' \
-H 'Content-Type: application/json' \
-H "X-API-Key: $NXP_API_KEY" \
-d '{"target":"sieutool.net","type":"all"}'Sample response
{
"ok": true,
"tool": "dns-lookup",
"version": "1.0.0",
"data": {
"target": "sieutool.net",
"host": "sieutool.net",
"type": "all",
"exists": true,
"records": {
"a": [
"104.21.85.72",
"172.67.203.129"
],
"aaaa": [
"2606:4700:3035::ac43:cb81"
],
"cname": [],
"mx": [],
"ns": [
"adaline.ns.cloudflare.com",
"logan.ns.cloudflare.com"
],
"txt": [],
"soa": {
"primary": "adaline.ns.cloudflare.com",
"admin": "dns.cloudflare.com",
"serial": 2389012345,
"ttl_min": 1800
},
"caa": []
},
"email": {
"spf": null,
"dmarc": null,
"dmarc_policy": null,
"notes": [
{
"level": "info",
"code": "NO_MX",
"text": "Không có bản ghi MX — tên miền không nhận email"
},
{
"level": "warn",
"code": "NO_SPF",
"text": "…"
},
{
"level": "warn",
"code": "NO_DMARC",
"text": "…"
}
]
},
"resolver": "1.1.1.1 / 8.8.8.8",
"took_ms": 120
}
}Try it (live call)
Main error codes
| HTTP | code | Meaning |
|---|---|---|
| 400 | BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER… | Invalid input — the message names the field |
| 401 | MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEY | Missing, invalid or revoked API key |
| 429 | RATE_LIMITED / IP_RATE_LIMITED | Per-minute rate limit exceeded — wait for Retry-After |
| 429 | DAILY_QUOTA_EXCEEDED | Daily quota used up — the upgrade field suggests a paid plan |
| 429 | CLUSTER_QUOTA_EXCEEDED | Linked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account |
| 503 | SERVER_BUSY / TOOL_BUSY / API_DISABLED | Server under heavy load or API paused — wait for Retry-After |
| 503 | TOOL_PAUSED | A tool calling external services hit its shared hourly cap (website + API) — wait for Retry-After |
| 503 | UPSTREAM_BUSY | The external source is paused or busy (e.g. Telegram asked us to wait) — wait for Retry-After |
| 504 | TOOL_TIMEOUT | The external source took longer than 30 seconds — try again later |
Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).
How to use
The tool queries public DNS resolvers (Cloudflare 1.1.1.1, Google 8.8.8.8) for a domain's records: A/AAAA (website IPs), CNAME, MX (mail servers), NS (DNS provider), TXT, SOA, CAA — and assesses the SPF and DMARC anti-spoofing setup. Useful after pointing a domain, setting up business email, or when your mail lands in spam.
- Enter a domain (e.g. sieutool.net) or paste a URL — the domain is extracted; click Try an example for a sample.
- Pick a record type: All, or only MX, TXT, A… (default All).
- Click Run: results show in 1–2 seconds, one block per record type, MX sorted by priority.
- Check the Email block: MX present, SPF hard or soft fail, DMARC p=none/quarantine/reject; copy any block to send to your tech team.
Frequently asked questions
- Reads public DNS records only. For IPs and registration data use the Domain Investigator tool.
Related tools
What Is My IPFeatured
See your public IP address (IPv4/IPv6), country, region, ISP, ASN and hostname — or look up any IP. Free, with API.
9 runs
Link Share Preview Checker (OG)Featured
See how a link looks when shared on Facebook, Zalo, Telegram and X: title, description, OG image, Twitter Card — with warnings for missing tags and wrong image sizes. Free.
4 runs
Domain & Server Investigator
Enter a domain or IP: DNS records, domain registrar/expiry, server IPs, ISP/CDN, location, SSL certificate, security headers, SPF/DMARC — with an automatic assessment.
3 runs



