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
github.com
Total time
100 ms
Source
live
Records found
39
A 1 record
6 ms
TTLTypeAnswer
1s A 140.82.121.3
MX 1 record
7 ms
TTLTypeAnswer
253s MX 0 github-com.mail.protection.outlook.com
TXT 21 records
1 ms
TTLTypeAnswer
225s TXT docusign=087098e3-3d46-47b7-9b4e-8a23028154cd
225s TXT loom-site-verification=f3787154f1154b7880e720a511ea664d
225s TXT facebook-domain-verification=39xu4jzl7roi7x0n93ldkxjiaarx50
225s TXT anthropic-domain-verification-4az7qn=if8YWuRRqwLycGJDooumzHtxm
225s TXT MS=ms44452932
225s TXT google-site-verification=82Le34Flgtd15ojYhHlGF_6g72muSjamlMVThBOJpks
225s TXT v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all
225s TXT TAILSCALE-xOzoDvFUzZr5YYVCQFuD
225s TXT jamf-site-verification=XtaPNIYghF_e_xRDI8CjgQ
225s TXT stripe-verification=f88ef17321660a01bab1660454192e014defa29ba7b8de9633c69d6b4912217f
225s TXT adobe-idp-site-verification=b92c9e999aef825edc36e0a3d847d2dbad5b2fc0e05c79ddd7a16139b48ecf4b
225s TXT krisp-domain-verification=ZlyiK7XLhnaoUQb2hpak1PLY7dFkl1WE
225s TXT MS=ms58704441
225s TXT miro-verification=d2e174fdb00c71e0bcf58f8e58c3da2dd80dcfa9
225s TXT MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805
225s TXT google-site-verification=UTM-3akMgubp6tQtgEuAkYNYLyYAvpTnnSrDMWoDR3o
225s TXT shopify-verification-code=t1YPwcmvnxZyBycaCpk1MPyWoFs72o
225s TXT 00Dd0000000hHE0=1TBKg000000TN2r
225s TXT atlassian-domain-verification=jjgw98AKv2aeoYFxiL/VFaoyPkn3undEssTRuMg6C/3Fp/iqhkV4HVV7WjYlVeF8
225s TXT calendly-site-verification=at0DQARi7IZvJtXQAWhMqpmIzpvoBNF7aam5VKKxP
225s TXT apple-domain-verification=RyQhdzTl6Z6x8ZP4
NS 8 records
8 ms
TTLTypeAnswer
604s NS dns1.p08.nsone.net
604s NS dns2.p08.nsone.net
604s NS dns3.p08.nsone.net
604s NS dns4.p08.nsone.net
604s NS ns-1283.awsdns-32.org
604s NS ns-1707.awsdns-21.co.uk
604s NS ns-421.awsdns-52.com
604s NS ns-520.awsdns-01.net
SOA 1 record
7 ms
TTLTypeAnswer
96s SOA ns-1707.awsdns-21.co.uk awsdns-hostmaster.amazon.com 1
CAA 7 records
9 ms
TTLTypeAnswer
3600s CAA 0 issue digicert.com
3600s CAA 0 issue globalsign.com
3600s CAA 0 issue letsencrypt.org
3600s CAA 0 issue sectigo.com
3600s CAA 0 issuewild digicert.com
3600s CAA 0 issuewild letsencrypt.org
3600s CAA 0 issuewild sectigo.com
Raw JSON / API equivalent
JSON endpoint
/api/v1/dns/lookup?q=github.com
{
    "ok": true,
    "slug": "dns/lookup",
    "title": "DNS lookup (dig)",
    "ms": 100,
    "data": {
        "host": "github.com",
        "types": {
            "A": {
                "ms": 6,
                "count": 1,
                "records": [
                    {
                        "type": "A",
                        "ttl": 1,
                        "host": "github.com",
                        "answer": "140.82.121.3"
                    }
                ]
            },
            "AAAA": {
                "ms": 13,
                "count": 0,
                "records": []
            },
            "MX": {
                "ms": 7,
                "count": 1,
                "records": [
                    {
                        "type": "MX",
                        "ttl": 253,
                        "host": "github.com",
                        "answer": "0 github-com.mail.protection.outlook.com",
                        "priority": 0,
                        "target": "github-com.mail.protection.outlook.com"
                    }
                ]
            },
            "TXT": {
                "ms": 1,
                "count": 21,
                "records": [
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "docusign=087098e3-3d46-47b7-9b4e-8a23028154cd"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "loom-site-verification=f3787154f1154b7880e720a511ea664d"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "facebook-domain-verification=39xu4jzl7roi7x0n93ldkxjiaarx50"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "anthropic-domain-verification-4az7qn=if8YWuRRqwLycGJDooumzHtxm"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "MS=ms44452932"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "google-site-verification=82Le34Flgtd15ojYhHlGF_6g72muSjamlMVThBOJpks"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "TAILSCALE-xOzoDvFUzZr5YYVCQFuD"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "jamf-site-verification=XtaPNIYghF_e_xRDI8CjgQ"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "stripe-verification=f88ef17321660a01bab1660454192e014defa29ba7b8de9633c69d6b4912217f"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "adobe-idp-site-verification=b92c9e999aef825edc36e0a3d847d2dbad5b2fc0e05c79ddd7a16139b48ecf4b"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "krisp-domain-verification=ZlyiK7XLhnaoUQb2hpak1PLY7dFkl1WE"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "MS=ms58704441"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "miro-verification=d2e174fdb00c71e0bcf58f8e58c3da2dd80dcfa9"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "google-site-verification=UTM-3akMgubp6tQtgEuAkYNYLyYAvpTnnSrDMWoDR3o"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "shopify-verification-code=t1YPwcmvnxZyBycaCpk1MPyWoFs72o"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "00Dd0000000hHE0=1TBKg000000TN2r"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "atlassian-domain-verification=jjgw98AKv2aeoYFxiL/VFaoyPkn3undEssTRuMg6C/3Fp/iqhkV4HVV7WjYlVeF8"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "calendly-site-verification=at0DQARi7IZvJtXQAWhMqpmIzpvoBNF7aam5VKKxP"
                    },
                    {
                        "type": "TXT",
                        "ttl": 225,
                        "host": "github.com",
                        "answer": "apple-domain-verification=RyQhdzTl6Z6x8ZP4"
                    }
                ]
            },
            "CNAME": {
                "ms": 17,
                "count": 0,
                "records": []
            },
            "NS": {
                "ms": 8,
                "count": 8,
                "records": [
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "dns1.p08.nsone.net"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "dns2.p08.nsone.net"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "dns3.p08.nsone.net"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "dns4.p08.nsone.net"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "ns-1283.awsdns-32.org"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "ns-1707.awsdns-21.co.uk"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "ns-421.awsdns-52.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 604,
                        "host": "github.com",
                        "answer": "ns-520.awsdns-01.net"
                    }
                ]
            },
            "SOA": {
                "ms": 7,
                "count": 1,
                "records": [
                    {
                        "type": "SOA",
                        "ttl": 96,
                        "host": "github.com",
                        "answer": "ns-1707.awsdns-21.co.uk awsdns-hostmaster.amazon.com 1",
                        "mname": "ns-1707.awsdns-21.co.uk",
                        "rname": "awsdns-hostmaster.amazon.com",
                        "serial": 1,
                        "refresh": 7200,
                        "retry": 900,
                        "expire": 1209600,
                        "min_ttl": 86400
                    }
                ]
            },
            "SRV": {
                "ms": 15,
                "count": 0,
                "records": []
            },
            "PTR": {
                "ms": 16,
                "count": 0,
                "records": []
            },
            "CAA": {
                "ms": 9,
                "count": 7,
                "records": [
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issue digicert.com",
                        "tag": "issue",
                        "value": "digicert.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issue globalsign.com",
                        "tag": "issue",
                        "value": "globalsign.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issue letsencrypt.org",
                        "tag": "issue",
                        "value": "letsencrypt.org"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issue sectigo.com",
                        "tag": "issue",
                        "value": "sectigo.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issuewild digicert.com",
                        "tag": "issuewild",
                        "value": "digicert.com"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issuewild letsencrypt.org",
                        "tag": "issuewild",
                        "value": "letsencrypt.org"
                    },
                    {
                        "type": "CAA",
                        "ttl": 3600,
                        "host": "github.com",
                        "answer": "0 issuewild sectigo.com",
                        "tag": "issuewild",
                        "value": "sectigo.com"
                    }
                ]
            }
        },
        "ms": 99
    },
    "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=github.com
curl -s '/api/v1/dns/lookup?q=github.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