Skip to content
All tools

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 ↓

Run tool DNS Lookup — MX, SPF, DMARC Checker

Free, no sign-in needed

Developer API

Developer API

Free

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-lookup

Auth: 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

ParameterTypeDescription
target *stringTê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)

No API key yet? Sign in and create a free key, then paste it below. Create API key
Paste your API key (kept in this page only, never stored) and send a request. Test requests count toward your key's rate limit.

Main error codes

HTTPcodeMeaning
400BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER…Invalid input — the message names the field
401MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEYMissing, invalid or revoked API key
429RATE_LIMITED / IP_RATE_LIMITEDPer-minute rate limit exceeded — wait for Retry-After
429DAILY_QUOTA_EXCEEDEDDaily quota used up — the upgrade field suggests a paid plan
429CLUSTER_QUOTA_EXCEEDEDLinked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account
503SERVER_BUSY / TOOL_BUSY / API_DISABLEDServer under heavy load or API paused — wait for Retry-After
503TOOL_PAUSEDA tool calling external services hit its shared hourly cap (website + API) — wait for Retry-After
503UPSTREAM_BUSYThe external source is paused or busy (e.g. Telegram asked us to wait) — wait for Retry-After
504TOOL_TIMEOUTThe 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.

  1. Enter a domain (e.g. sieutool.net) or paste a URL — the domain is extracted; click Try an example for a sample.
  2. Pick a record type: All, or only MX, TXT, A… (default All).
  3. Click Run: results show in 1–2 seconds, one block per record type, MX sorted by priority.
  4. 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

Records are cached by resolvers for their TTL (usually 5 minutes to a few hours, NS up to 48 hours). Wait for the TTL and retry; the tool also caches each domain for 5 minutes.

MX names the servers that receive email for the domain. Lower priority numbers are tried first; higher ones are backups. With no MX the domain cannot receive mail.

SPF (a TXT starting v=spf1) lists servers allowed to send mail for the domain; DMARC (TXT at _dmarc.<domain>) tells receivers what to do with spoofed mail. Without both, your mail goes to spam more and is easier to spoof.

It may not be delegated yet, may have expired, or is misspelled. The tool reports "no records" when every type is empty; check with your registrar.

The domain and result stay in your run history for up to 7 days, then are deleted; API results are cached for 5 minutes. Queries go only to Cloudflare and Google public DNS, never to the domain's own server.
  • Reads public DNS records only. For IPs and registration data use the Domain Investigator tool.
All Web & links tools →
Sends only the tool name, the last error code and your browser type — never what you typed.