DNS lookup (dig)
DNS /api/v1/dns/lookupQuery A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, PTR — all types at once.
| TTL | Type | Answer |
|---|---|---|
| 60s | A | 140.82.121.4 |
| TTL | Type | Answer |
|---|---|---|
| 281s | MX | 0 github-com.mail.protection.outlook.com |
| TTL | Type | Answer |
|---|---|---|
| 77s | TXT | google-site-verification=82Le34Flgtd15ojYhHlGF_6g72muSjamlMVThBOJpks |
| 77s | TXT | TAILSCALE-xOzoDvFUzZr5YYVCQFuD |
| 77s | TXT | shopify-verification-code=t1YPwcmvnxZyBycaCpk1MPyWoFs72o |
| 77s | TXT | loom-site-verification=f3787154f1154b7880e720a511ea664d |
| 77s | TXT | adobe-idp-site-verification=b92c9e999aef825edc36e0a3d847d2dbad5b2fc0e05c79ddd7a16139b48ecf4b |
| 77s | TXT | MS=ms44452932 |
| 77s | 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 |
| 77s | TXT | MS=ms58704441 |
| 77s | TXT | atlassian-domain-verification=jjgw98AKv2aeoYFxiL/VFaoyPkn3undEssTRuMg6C/3Fp/iqhkV4HVV7WjYlVeF8 |
| 77s | TXT | apple-domain-verification=RyQhdzTl6Z6x8ZP4 |
| 77s | TXT | jamf-site-verification=XtaPNIYghF_e_xRDI8CjgQ |
| 77s | TXT | MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805 |
| 77s | TXT | stripe-verification=f88ef17321660a01bab1660454192e014defa29ba7b8de9633c69d6b4912217f |
| 77s | TXT | google-site-verification=UTM-3akMgubp6tQtgEuAkYNYLyYAvpTnnSrDMWoDR3o |
| 77s | TXT | calendly-site-verification=at0DQARi7IZvJtXQAWhMqpmIzpvoBNF7aam5VKKxP |
| 77s | TXT | facebook-domain-verification=39xu4jzl7roi7x0n93ldkxjiaarx50 |
| 77s | TXT | krisp-domain-verification=ZlyiK7XLhnaoUQb2hpak1PLY7dFkl1WE |
| 77s | TXT | docusign=087098e3-3d46-47b7-9b4e-8a23028154cd |
| 77s | TXT | 00Dd0000000hHE0=1TBKg000000TN2r |
| 77s | TXT | miro-verification=d2e174fdb00c71e0bcf58f8e58c3da2dd80dcfa9 |
| TTL | Type | Answer |
|---|---|---|
| 1071s | NS | dns2.p08.nsone.net |
| 1071s | NS | ns-520.awsdns-01.net |
| 1071s | NS | ns-1283.awsdns-32.org |
| 1071s | NS | ns-1707.awsdns-21.co.uk |
| 1071s | NS | dns1.p08.nsone.net |
| 1071s | NS | dns4.p08.nsone.net |
| 1071s | NS | ns-421.awsdns-52.com |
| 1071s | NS | dns3.p08.nsone.net |
| TTL | Type | Answer |
|---|---|---|
| 12s | SOA | dns1.p08.nsone.net hostmaster.nsone.net 1656468023 |
| TTL | Type | Answer |
|---|---|---|
| 3080s | CAA | 0 issuewild digicert.com |
| 3080s | CAA | 0 issue globalsign.com |
| 3080s | CAA | 0 issue letsencrypt.org |
| 3080s | CAA | 0 issuewild letsencrypt.org |
| 3080s | CAA | 0 issue sectigo.com |
| 3080s | CAA | 0 issue digicert.com |
| 3080s | CAA | 0 issuewild sectigo.com |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=github.com
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 146,
"data": {
"host": "github.com",
"types": {
"A": {
"ms": 22,
"count": 1,
"records": [
{
"type": "A",
"ttl": 60,
"host": "github.com",
"answer": "140.82.121.4"
}
]
},
"AAAA": {
"ms": 7,
"count": 0,
"records": []
},
"MX": {
"ms": 8,
"count": 1,
"records": [
{
"type": "MX",
"ttl": 281,
"host": "github.com",
"answer": "0 github-com.mail.protection.outlook.com",
"priority": 0,
"target": "github-com.mail.protection.outlook.com"
}
]
},
"TXT": {
"ms": 16,
"count": 20,
"records": [
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "google-site-verification=82Le34Flgtd15ojYhHlGF_6g72muSjamlMVThBOJpks"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "TAILSCALE-xOzoDvFUzZr5YYVCQFuD"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "shopify-verification-code=t1YPwcmvnxZyBycaCpk1MPyWoFs72o"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "loom-site-verification=f3787154f1154b7880e720a511ea664d"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "adobe-idp-site-verification=b92c9e999aef825edc36e0a3d847d2dbad5b2fc0e05c79ddd7a16139b48ecf4b"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "MS=ms44452932"
},
{
"type": "TXT",
"ttl": 77,
"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": 77,
"host": "github.com",
"answer": "MS=ms58704441"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "atlassian-domain-verification=jjgw98AKv2aeoYFxiL/VFaoyPkn3undEssTRuMg6C/3Fp/iqhkV4HVV7WjYlVeF8"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "apple-domain-verification=RyQhdzTl6Z6x8ZP4"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "jamf-site-verification=XtaPNIYghF_e_xRDI8CjgQ"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "MS=6BF03E6AF5CB689E315FB6199603BABF2C88D805"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "stripe-verification=f88ef17321660a01bab1660454192e014defa29ba7b8de9633c69d6b4912217f"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "google-site-verification=UTM-3akMgubp6tQtgEuAkYNYLyYAvpTnnSrDMWoDR3o"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "calendly-site-verification=at0DQARi7IZvJtXQAWhMqpmIzpvoBNF7aam5VKKxP"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "facebook-domain-verification=39xu4jzl7roi7x0n93ldkxjiaarx50"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "krisp-domain-verification=ZlyiK7XLhnaoUQb2hpak1PLY7dFkl1WE"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "docusign=087098e3-3d46-47b7-9b4e-8a23028154cd"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "00Dd0000000hHE0=1TBKg000000TN2r"
},
{
"type": "TXT",
"ttl": 77,
"host": "github.com",
"answer": "miro-verification=d2e174fdb00c71e0bcf58f8e58c3da2dd80dcfa9"
}
]
},
"CNAME": {
"ms": 24,
"count": 0,
"records": []
},
"NS": {
"ms": 0,
"count": 8,
"records": [
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "dns2.p08.nsone.net"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "ns-520.awsdns-01.net"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "ns-1283.awsdns-32.org"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "ns-1707.awsdns-21.co.uk"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "dns1.p08.nsone.net"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "dns4.p08.nsone.net"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "ns-421.awsdns-52.com"
},
{
"type": "NS",
"ttl": 1071,
"host": "github.com",
"answer": "dns3.p08.nsone.net"
}
]
},
"SOA": {
"ms": 0,
"count": 1,
"records": [
{
"type": "SOA",
"ttl": 12,
"host": "github.com",
"answer": "dns1.p08.nsone.net hostmaster.nsone.net 1656468023",
"mname": "dns1.p08.nsone.net",
"rname": "hostmaster.nsone.net",
"serial": 1656468023,
"refresh": 43200,
"retry": 7200,
"expire": 1209600,
"min_ttl": 3600
}
]
},
"SRV": {
"ms": 30,
"count": 0,
"records": []
},
"PTR": {
"ms": 38,
"count": 0,
"records": []
},
"CAA": {
"ms": 0,
"count": 7,
"records": [
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issuewild digicert.com",
"tag": "issuewild",
"value": "digicert.com"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issue globalsign.com",
"tag": "issue",
"value": "globalsign.com"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issue letsencrypt.org",
"tag": "issue",
"value": "letsencrypt.org"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issuewild letsencrypt.org",
"tag": "issuewild",
"value": "letsencrypt.org"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issue sectigo.com",
"tag": "issue",
"value": "sectigo.com"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issue digicert.com",
"tag": "issue",
"value": "digicert.com"
},
{
"type": "CAA",
"ttl": 3080,
"host": "github.com",
"answer": "0 issuewild sectigo.com",
"tag": "issuewild",
"value": "sectigo.com"
}
]
}
},
"ms": 146
},
"source": "live",
"meta": []
}
-
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
Click "Inspect"
host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.
-
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.
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/v1/dns/lookup?q=github.com
curl -s '/api/v1/dns/lookup?q=github.com'
<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.
Common questions
Is DNS lookup (dig) free?
Where does the data come from?
How fresh are the results?
?nocache=1 for a forced refresh.Can I run this from the command line?
host.tools dns lookup YOUR_INPUT.Can I monitor results over time?
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