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
google.com
Total time
69 ms
Source
live
Records found
22
A 1 record
4 ms
TTLTypeAnswer
81s A 142.251.142.206
AAAA 1 record
4 ms
TTLTypeAnswer
66s AAAA 2a00:1450:400e:807::200e
MX 1 record
5 ms
TTLTypeAnswer
73s MX 10 smtp.google.com
TXT 13 records
4 ms
TTLTypeAnswer
113s TXT MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB
113s TXT docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e
113s TXT google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o
113s TXT facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95
113s TXT docusign=1b0a6754-49b1-4db5-8540-d2c12664b289
113s TXT cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b
113s TXT google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0
113s TXT onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0
113s TXT apple-domain-verification=30afIBcvSuDV2PLX
113s TXT onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc
113s TXT google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ
113s TXT globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8=
113s TXT v=spf1 include:_spf.google.com ~all
NS 4 records
4 ms
TTLTypeAnswer
341265s NS ns3.google.com
341265s NS ns4.google.com
341265s NS ns1.google.com
341265s NS ns2.google.com
SOA 1 record
5 ms
TTLTypeAnswer
57s SOA ns1.google.com dns-admin.google.com 912053511
CAA 1 record
4 ms
TTLTypeAnswer
80824s CAA 0 issue pki.goog
Raw JSON / API equivalent
JSON endpoint
/api/v1/dns/lookup?q=google.com
{
    "ok": true,
    "slug": "dns/lookup",
    "title": "DNS lookup (dig)",
    "ms": 69,
    "data": {
        "host": "google.com",
        "types": {
            "A": {
                "ms": 4,
                "count": 1,
                "records": [
                    {
                        "type": "A",
                        "ttl": 81,
                        "host": "google.com",
                        "answer": "142.251.142.206"
                    }
                ]
            },
            "AAAA": {
                "ms": 4,
                "count": 1,
                "records": [
                    {
                        "type": "AAAA",
                        "ttl": 66,
                        "host": "google.com",
                        "answer": "2a00:1450:400e:807::200e"
                    }
                ]
            },
            "MX": {
                "ms": 5,
                "count": 1,
                "records": [
                    {
                        "type": "MX",
                        "ttl": 73,
                        "host": "google.com",
                        "answer": "10 smtp.google.com",
                        "priority": 10,
                        "target": "smtp.google.com"
                    }
                ]
            },
            "TXT": {
                "ms": 4,
                "count": 13,
                "records": [
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "MS=E4A68B9AB2BB9670BCE15412F62916164C0B20BB"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "docusign=05958488-4752-4ef2-95eb-aa7ba8a3bd0e"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "google-site-verification=wD8N7i1JTNTkezJ49swvWW48f8_9xveREV4oB-0Hf5o"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "facebook-domain-verification=22rm551cu4k0ab0bxsw536tlds4h95"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "docusign=1b0a6754-49b1-4db5-8540-d2c12664b289"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "cisco-ci-domain-verification=47c38bc8c4b74b7233e9053220c1bbe76bcc1cd33c7acf7acd36cd6a5332004b"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "google-site-verification=4ibFUgB-wXLQ_S7vsXVomSTVamuOXBiVAzpR5IZ87D0"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "onetrust-domain-verification=6d685f1d41a94696ad7ef771f68993e0"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "apple-domain-verification=30afIBcvSuDV2PLX"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "onetrust-domain-verification=0d477fe608074e6f9c12bca7826035cc"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "google-site-verification=TV9-DBe4R80X4v0M4U_bd_J9cpOJM0nikft0jAgjmsQ"
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "globalsign-smime-dv=CDYX+XFHUw2wml6/Gb8+59BsH31KzUr6c1l2BPvqKX8="
                    },
                    {
                        "type": "TXT",
                        "ttl": 113,
                        "host": "google.com",
                        "answer": "v=spf1 include:_spf.google.com ~all"
                    }
                ]
            },
            "CNAME": {
                "ms": 8,
                "count": 0,
                "records": []
            },
            "NS": {
                "ms": 4,
                "count": 4,
                "records": [
                    {
                        "type": "NS",
                        "ttl": 341265,
                        "host": "google.com",
                        "answer": "ns3.google.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 341265,
                        "host": "google.com",
                        "answer": "ns4.google.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 341265,
                        "host": "google.com",
                        "answer": "ns1.google.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 341265,
                        "host": "google.com",
                        "answer": "ns2.google.com"
                    }
                ]
            },
            "SOA": {
                "ms": 5,
                "count": 1,
                "records": [
                    {
                        "type": "SOA",
                        "ttl": 57,
                        "host": "google.com",
                        "answer": "ns1.google.com dns-admin.google.com 912053511",
                        "mname": "ns1.google.com",
                        "rname": "dns-admin.google.com",
                        "serial": 912053511,
                        "refresh": 900,
                        "retry": 900,
                        "expire": 1800,
                        "min_ttl": 60
                    }
                ]
            },
            "SRV": {
                "ms": 16,
                "count": 0,
                "records": []
            },
            "PTR": {
                "ms": 15,
                "count": 0,
                "records": []
            },
            "CAA": {
                "ms": 4,
                "count": 1,
                "records": [
                    {
                        "type": "CAA",
                        "ttl": 80824,
                        "host": "google.com",
                        "answer": "0 issue pki.goog",
                        "tag": "issue",
                        "value": "pki.goog"
                    }
                ]
            }
        },
        "ms": 69
    },
    "source": "live",
    "meta": []
}
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=google.com
curl -s '/api/v1/dns/lookup?q=google.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