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 |
|---|---|---|
| 300s | A | 1.1.1.1 |
| TTL | Type | Answer |
|---|---|---|
| 3900s | MX | 0 edgetdp-ai.mail.protection.outlook.com |
| TTL | Type | Answer |
|---|---|---|
| 60s | TXT | hten3Kx5sRzpgMFhbW5NCD7n06gLAW |
| 60s | TXT | mandrill_verify.-XB1v-LKZLw4n1Qk40pSJw |
| 60s | TXT | v=spf1 include:spf.protection.outlook.com include:spf.mandrillapp.com -all |
| TTL | Type | Answer |
|---|---|---|
| 172800s | NS | ns-1510.awsdns-60.org |
| 172800s | NS | ns-1724.awsdns-23.co.uk |
| 172800s | NS | ns-462.awsdns-57.com |
| 172800s | NS | ns-815.awsdns-37.net |
| TTL | Type | Answer |
|---|---|---|
| 900s | SOA | ns-815.awsdns-37.net awsdns-hostmaster.amazon.com 1 |
| TTL | Type | Answer |
|---|---|---|
| 300s | CAA | 0 iodef mailto:[email protected] |
| 300s | CAA | 0 issue sectigo.com |
| 300s | CAA | 0 issuewild sectigo.com |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=edgetdp.ai
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 415,
"data": {
"host": "edgetdp.ai",
"types": {
"A": {
"ms": 10,
"count": 1,
"records": [
{
"type": "A",
"ttl": 300,
"host": "edgetdp.ai",
"answer": "1.1.1.1"
}
]
},
"AAAA": {
"ms": 16,
"count": 0,
"records": []
},
"MX": {
"ms": 26,
"count": 1,
"records": [
{
"type": "MX",
"ttl": 3900,
"host": "edgetdp.ai",
"answer": "0 edgetdp-ai.mail.protection.outlook.com",
"priority": 0,
"target": "edgetdp-ai.mail.protection.outlook.com"
}
]
},
"TXT": {
"ms": 7,
"count": 3,
"records": [
{
"type": "TXT",
"ttl": 60,
"host": "edgetdp.ai",
"answer": "hten3Kx5sRzpgMFhbW5NCD7n06gLAW"
},
{
"type": "TXT",
"ttl": 60,
"host": "edgetdp.ai",
"answer": "mandrill_verify.-XB1v-LKZLw4n1Qk40pSJw"
},
{
"type": "TXT",
"ttl": 60,
"host": "edgetdp.ai",
"answer": "v=spf1 include:spf.protection.outlook.com include:spf.mandrillapp.com -all"
}
]
},
"CNAME": {
"ms": 23,
"count": 0,
"records": []
},
"NS": {
"ms": 11,
"count": 4,
"records": [
{
"type": "NS",
"ttl": 172800,
"host": "edgetdp.ai",
"answer": "ns-1510.awsdns-60.org"
},
{
"type": "NS",
"ttl": 172800,
"host": "edgetdp.ai",
"answer": "ns-1724.awsdns-23.co.uk"
},
{
"type": "NS",
"ttl": 172800,
"host": "edgetdp.ai",
"answer": "ns-462.awsdns-57.com"
},
{
"type": "NS",
"ttl": 172800,
"host": "edgetdp.ai",
"answer": "ns-815.awsdns-37.net"
}
]
},
"SOA": {
"ms": 6,
"count": 1,
"records": [
{
"type": "SOA",
"ttl": 900,
"host": "edgetdp.ai",
"answer": "ns-815.awsdns-37.net awsdns-hostmaster.amazon.com 1",
"mname": "ns-815.awsdns-37.net",
"rname": "awsdns-hostmaster.amazon.com",
"serial": 1,
"refresh": 7200,
"retry": 900,
"expire": 1209600,
"min_ttl": 86400
}
]
},
"SRV": {
"ms": 19,
"count": 0,
"records": []
},
"PTR": {
"ms": 291,
"count": 0,
"records": []
},
"CAA": {
"ms": 6,
"count": 3,
"records": [
{
"type": "CAA",
"ttl": 300,
"host": "edgetdp.ai",
"answer": "0 iodef mailto:[email protected]",
"tag": "iodef",
"value": "mailto:[email protected]"
},
{
"type": "CAA",
"ttl": 300,
"host": "edgetdp.ai",
"answer": "0 issue sectigo.com",
"tag": "issue",
"value": "sectigo.com"
},
{
"type": "CAA",
"ttl": 300,
"host": "edgetdp.ai",
"answer": "0 issuewild sectigo.com",
"tag": "issuewild",
"value": "sectigo.com"
}
]
}
},
"ms": 415
},
"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=edgetdp.ai
curl -s '/api/v1/dns/lookup?q=edgetdp.ai'
<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