host.tools

DNS lookup (dig)

DNS /api/v1/dns/lookup

Query A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, PTR — all types at once.

Host
cloudflare.com
Total time
5188 ms
Source
live
Records found
51
A 2 records
1 ms
TTLTypeAnswer
216s A 104.16.133.229
216s A 104.16.132.229
AAAA 2 records
0 ms
TTLTypeAnswer
216s AAAA 2606:4700::6810:85e5
216s AAAA 2606:4700::6810:84e5
MX 4 records
5 ms
TTLTypeAnswer
1800s MX 10 mxa.global.inbound.cf-emailsecurity.net
1800s MX 10 mxb.global.inbound.cf-emailsecurity.net
1800s MX 5 mxa-canary.global.inbound.cf-emailsecurity.net
1800s MX 5 mxb-canary.global.inbound.cf-emailsecurity.net
TXT 26 records
5058 ms
TTLTypeAnswer
299s TXT asv=894f6d1f9f83bcf44e4b1bc40bc1c4aa
299s TXT _saml-domain-challenge.2dc00405-79cd-457b-b288-a119c6f0c7b7.71996d53-d178-4ba9-bef4-7f7e46edab74.cloudflare.com=1c8736fd-84b2-4197-985f-3fb2852f2457
299s TXT onetrust-domain-verification=bd5cd08a1e9644799fdb98ed7d60c9cb
299s TXT databank-domain-verification-hkehd2=fzgu4kmbZwMoW99zENgO4u8NL
299s TXT stripe-verification=bf1a94e6b16ace2502a4a7fff574a25c8a45291054960c883c59be39d1788db9
299s TXT liveramp-site-verification=EhH1MqgwbndTWl1AN64hOTKz7hc1s80yUpchLbgpfY0
299s TXT apple-domain-verification=DNnWJoArJobFJKhJ
299s TXT MS=ms70274184
299s TXT creatopy-domain-verification=97d2ca50-9b6f-4a21-9bdb-fbb630e4cec7
299s TXT v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all
299s TXT docker-verification=c578e21c-34fb-4474-9b90-d55ee4cba10c
299s TXT _wkjc0fot0d7qrvrdt78bxkj2e2o67d2
299s TXT facebook-domain-verification=h9mm6zopj6p2po54woa16m5bskm6oo
299s TXT _neqmkgaq1lq9it5s8qmetrhbnu121wb
299s TXT cisco-ci-domain-verification=27e926884619804ef987ae4aa1c4168f6b152ada84f4c8bfc74eb2bd2912ad72
299s TXT google-site-verification=C7thfNeXVahkVhniiqTI1iSVnElKR_kBBtnEHkeGDlo
299s TXT miro-verification=bdd7dfa0a49adfb43ad6ddfaf797633246c07356
299s TXT uber-domain-verification=58086039-150a-42a4-a4be-b4032921aa0f
299s TXT google-site-verification=ZdlQZLBBAPkxeFTCM1rpiB_ibtGff_JF5KllNKwDR9I
299s TXT atlassian-domain-verification=WxxKyN9aLnjEsoOjUYI6T0bb5vcqmKzaIkC9Rx2QkNb751G3LL/cus8/ZDOgh8xB
299s TXT drift-domain-verification=f037808a26ae8b25bc13b1f1f2b4c3e0f78c03e67f24cefdd4ec520efa8e719f
299s TXT canva-site-verification=oOyaVnHC-OiFoR1BPvetNA
299s TXT stripe-verification=5096d01ff2cf194285dd51cae18f24fa9c26dc928cebac3636d462b4c6925623
299s TXT logmein-verification-code=b3433c86-3823-4808-8a7e-58042469f654
299s TXT status-page-domain-verification=r14frwljwbxs
299s TXT ZOOM_verify_7LFBvOO9SIigypFG2xRlMA
NS 5 records
14 ms
TTLTypeAnswer
21600s NS ns3.cloudflare.com
21600s NS ns7.cloudflare.com
21600s NS ns4.cloudflare.com
21600s NS ns6.cloudflare.com
21600s NS ns5.cloudflare.com
SOA 1 record
14 ms
TTLTypeAnswer
300s SOA ns3.cloudflare.com dns.cloudflare.com 2403395625
CAA 11 records
14 ms
TTLTypeAnswer
300s CAA 0 issuewild pki.goog; cansignhttpexchanges=yes
300s CAA 0 issuewild comodoca.com
300s CAA 0 issue ssl.com
300s CAA 0 iodef mailto:[email protected]
300s CAA 0 issuewild digicert.com; cansignhttpexchanges=yes
300s CAA 0 issuewild ssl.com
300s CAA 0 issue pki.goog; cansignhttpexchanges=yes
300s CAA 0 issue letsencrypt.org
300s CAA 0 issuewild letsencrypt.org
300s CAA 0 issue digicert.com; cansignhttpexchanges=yes
300s CAA 0 issue comodoca.com
Raw JSON / API equivalent
JSON endpoint
/api/v1/dns/lookup?q=cloudflare.com
{
    "ok": true,
    "slug": "dns/lookup",
    "title": "DNS lookup (dig)",
    "ms": 5188,
    "data": {
        "host": "cloudflare.com",
        "types": {
            "A": {
                "ms": 1,
                "count": 2,
                "records": [
                    {
                        "type": "A",
                        "ttl": 216,
                        "host": "cloudflare.com",
                        "answer": "104.16.133.229"
                    },
                    {
                        "type": "A",
                        "ttl": 216,
                        "host": "cloudflare.com",
                        "answer": "104.16.132.229"
                    }
                ]
            },
            "AAAA": {
                "ms": 0,
                "count": 2,
                "records": [
                    {
                        "type": "AAAA",
                        "ttl": 216,
                        "host": "cloudflare.com",
                        "answer": "2606:4700::6810:85e5"
                    },
                    {
                        "type": "AAAA",
                        "ttl": 216,
                        "host": "cloudflare.com",
                        "answer": "2606:4700::6810:84e5"
                    }
                ]
            },
            "MX": {
                "ms": 5,
                "count": 4,
                "records": [
                    {
                        "type": "MX",
                        "ttl": 1800,
                        "host": "cloudflare.com",
                        "answer": "10 mxa.global.inbound.cf-emailsecurity.net",
                        "priority": 10,
                        "target": "mxa.global.inbound.cf-emailsecurity.net"
                    },
                    {
                        "type": "MX",
                        "ttl": 1800,
                        "host": "cloudflare.com",
                        "answer": "10 mxb.global.inbound.cf-emailsecurity.net",
                        "priority": 10,
                        "target": "mxb.global.inbound.cf-emailsecurity.net"
                    },
                    {
                        "type": "MX",
                        "ttl": 1800,
                        "host": "cloudflare.com",
                        "answer": "5 mxa-canary.global.inbound.cf-emailsecurity.net",
                        "priority": 5,
                        "target": "mxa-canary.global.inbound.cf-emailsecurity.net"
                    },
                    {
                        "type": "MX",
                        "ttl": 1800,
                        "host": "cloudflare.com",
                        "answer": "5 mxb-canary.global.inbound.cf-emailsecurity.net",
                        "priority": 5,
                        "target": "mxb-canary.global.inbound.cf-emailsecurity.net"
                    }
                ]
            },
            "TXT": {
                "ms": 5058,
                "count": 26,
                "records": [
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "asv=894f6d1f9f83bcf44e4b1bc40bc1c4aa"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "_saml-domain-challenge.2dc00405-79cd-457b-b288-a119c6f0c7b7.71996d53-d178-4ba9-bef4-7f7e46edab74.cloudflare.com=1c8736fd-84b2-4197-985f-3fb2852f2457"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "onetrust-domain-verification=bd5cd08a1e9644799fdb98ed7d60c9cb"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "databank-domain-verification-hkehd2=fzgu4kmbZwMoW99zENgO4u8NL"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "stripe-verification=bf1a94e6b16ace2502a4a7fff574a25c8a45291054960c883c59be39d1788db9"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "liveramp-site-verification=EhH1MqgwbndTWl1AN64hOTKz7hc1s80yUpchLbgpfY0"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "apple-domain-verification=DNnWJoArJobFJKhJ"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "MS=ms70274184"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "creatopy-domain-verification=97d2ca50-9b6f-4a21-9bdb-fbb630e4cec7"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "v=spf1 ip4:199.15.212.0/22 ip4:173.245.48.0/20 include:_spf.google.com include:spf1.mcsv.net include:spf.mandrillapp.com include:mail.zendesk.com include:stspg-customer.com include:_spf.salesforce.com -all"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "docker-verification=c578e21c-34fb-4474-9b90-d55ee4cba10c"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "_wkjc0fot0d7qrvrdt78bxkj2e2o67d2"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "facebook-domain-verification=h9mm6zopj6p2po54woa16m5bskm6oo"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "_neqmkgaq1lq9it5s8qmetrhbnu121wb"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "cisco-ci-domain-verification=27e926884619804ef987ae4aa1c4168f6b152ada84f4c8bfc74eb2bd2912ad72"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "google-site-verification=C7thfNeXVahkVhniiqTI1iSVnElKR_kBBtnEHkeGDlo"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "miro-verification=bdd7dfa0a49adfb43ad6ddfaf797633246c07356"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "uber-domain-verification=58086039-150a-42a4-a4be-b4032921aa0f"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "google-site-verification=ZdlQZLBBAPkxeFTCM1rpiB_ibtGff_JF5KllNKwDR9I"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "atlassian-domain-verification=WxxKyN9aLnjEsoOjUYI6T0bb5vcqmKzaIkC9Rx2QkNb751G3LL/cus8/ZDOgh8xB"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "drift-domain-verification=f037808a26ae8b25bc13b1f1f2b4c3e0f78c03e67f24cefdd4ec520efa8e719f"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "canva-site-verification=oOyaVnHC-OiFoR1BPvetNA"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "stripe-verification=5096d01ff2cf194285dd51cae18f24fa9c26dc928cebac3636d462b4c6925623"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "logmein-verification-code=b3433c86-3823-4808-8a7e-58042469f654"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "status-page-domain-verification=r14frwljwbxs"
                    },
                    {
                        "type": "TXT",
                        "ttl": 299,
                        "host": "cloudflare.com",
                        "answer": "ZOOM_verify_7LFBvOO9SIigypFG2xRlMA"
                    }
                ]
            },
            "CNAME": {
                "ms": 26,
                "count": 0,
                "records": []
            },
            "NS": {
                "ms": 14,
                "count": 5,
                "records": [
                    {
                        "type": "NS",
                        "ttl": 21600,
                        "host": "cloudflare.com",
                        "answer": "ns3.cloudflare.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 21600,
                        "host": "cloudflare.com",
                        "answer": "ns7.cloudflare.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 21600,
                        "host": "cloudflare.com",
                        "answer": "ns4.cloudflare.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 21600,
                        "host": "cloudflare.com",
                        "answer": "ns6.cloudflare.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 21600,
                        "host": "cloudflare.com",
                        "answer": "ns5.cloudflare.com"
                    }
                ]
            },
            "SOA": {
                "ms": 14,
                "count": 1,
                "records": [
                    {
                        "type": "SOA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "ns3.cloudflare.com dns.cloudflare.com 2403395625",
                        "mname": "ns3.cloudflare.com",
                        "rname": "dns.cloudflare.com",
                        "serial": 2403395625,
                        "refresh": 10000,
                        "retry": 2400,
                        "expire": 604800,
                        "min_ttl": 300
                    }
                ]
            },
            "SRV": {
                "ms": 27,
                "count": 0,
                "records": []
            },
            "PTR": {
                "ms": 28,
                "count": 0,
                "records": []
            },
            "CAA": {
                "ms": 14,
                "count": 11,
                "records": [
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issuewild pki.goog; cansignhttpexchanges=yes",
                        "tag": "issuewild",
                        "value": "pki.goog; cansignhttpexchanges=yes"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issuewild comodoca.com",
                        "tag": "issuewild",
                        "value": "comodoca.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issue ssl.com",
                        "tag": "issue",
                        "value": "ssl.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 iodef mailto:[email protected]",
                        "tag": "iodef",
                        "value": "mailto:[email protected]"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issuewild digicert.com; cansignhttpexchanges=yes",
                        "tag": "issuewild",
                        "value": "digicert.com; cansignhttpexchanges=yes"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issuewild ssl.com",
                        "tag": "issuewild",
                        "value": "ssl.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issue pki.goog; cansignhttpexchanges=yes",
                        "tag": "issue",
                        "value": "pki.goog; cansignhttpexchanges=yes"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issue letsencrypt.org",
                        "tag": "issue",
                        "value": "letsencrypt.org"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issuewild letsencrypt.org",
                        "tag": "issuewild",
                        "value": "letsencrypt.org"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issue digicert.com; cansignhttpexchanges=yes",
                        "tag": "issue",
                        "value": "digicert.com; cansignhttpexchanges=yes"
                    },
                    {
                        "type": "CAA",
                        "ttl": 300,
                        "host": "cloudflare.com",
                        "answer": "0 issue comodoca.com",
                        "tag": "issue",
                        "value": "comodoca.com"
                    }
                ]
            }
        },
        "ms": 5188
    },
    "source": "live",
    "meta": []
}
Sponsored host.tools Pro
Bulk lookups · monitors · webhooks · 10,000 API calls/day

Upgrade to Pro for $19/mo. Cancel anytime. Works with the same API you already use.

How to use DNS lookup (dig)
  1. 1
    Paste your input

    Enter the value at the top — domain, IP, URL, email, ASN, hash, whatever fits this tool. The smart input auto-detects type.

  2. 2
    Click "Inspect"

    host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.

  3. 3
    Open the API tab

    Every web tool has a sibling /api/v1/dns/lookup JSON endpoint with the same payload. One copy-as-curl click and you're scripting it.

Why this matters

DNS is the routing layer for everything you do on the internet. A bad TTL, a missing MX or an unsigned zone propagates outages and inboxes-full-of-spam in minutes. Verify before you ship.

API equivalent
/api/v1/dns/lookup?q=cloudflare.com
curl -s '/api/v1/dns/lookup?q=cloudflare.com'
Embed this tool
<iframe src="/dns/lookup?q={INPUT}&embed=1"
  width="100%" height="600" frameborder="0"></iframe>

Drop into any HTML page. The embed=1 flag hides nav and footer.

FAQ · DNS lookup (dig)

Common questions

Is DNS lookup (dig) free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/dns/lookup is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass ?nocache=1 for a forced refresh.
Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI: host.tools dns lookup YOUR_INPUT.
Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro

Run DNS lookup (dig) on a schedule. Get pinged when it changes.

Pro gets you bulk lookups, monitors, webhook alerts, history, exports and 10,000 API calls/day. $19/mo.

  • Schedule any tool — every 1, 5, 15, 60 min
  • Diff against last run, alert on change
  • Webhook + email + Slack + PagerDuty + OpsGenie
  • Bulk CSV upload, 1,000 inputs per job
  • Export results as CSV / NDJSON / Excel
  • 90-day history, comparison view