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 |
|---|---|---|
| 180s | A | 172.234.24.211 |
| 180s | A | 172.239.57.117 |
| TTL | Type | Answer |
|---|---|---|
| 3511s | MX | 10 mx.plingest.com |
| TTL | Type | Answer |
|---|---|---|
| 3533s | TXT | v=spf1 -all |
| TTL | Type | Answer |
|---|---|---|
| 3600s | NS | dns102.registrar-servers.com |
| 3600s | NS | dns101.registrar-servers.com |
| TTL | Type | Answer |
|---|---|---|
| 3600s | SOA | dns101.registrar-servers.com hostmaster.parklogic.com 2021051901 |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=onlinesuccessmembership.academy
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 2064,
"data": {
"host": "onlinesuccessmembership.academy",
"types": {
"A": {
"ms": 0,
"count": 2,
"records": [
{
"type": "A",
"ttl": 180,
"host": "onlinesuccessmembership.academy",
"answer": "172.234.24.211"
},
{
"type": "A",
"ttl": 180,
"host": "onlinesuccessmembership.academy",
"answer": "172.239.57.117"
}
]
},
"AAAA": {
"ms": 340,
"count": 0,
"records": []
},
"MX": {
"ms": 0,
"count": 1,
"records": [
{
"type": "MX",
"ttl": 3511,
"host": "onlinesuccessmembership.academy",
"answer": "10 mx.plingest.com",
"priority": 10,
"target": "mx.plingest.com"
}
]
},
"TXT": {
"ms": 0,
"count": 1,
"records": [
{
"type": "TXT",
"ttl": 3533,
"host": "onlinesuccessmembership.academy",
"answer": "v=spf1 -all"
}
]
},
"CNAME": {
"ms": 239,
"count": 0,
"records": []
},
"NS": {
"ms": 233,
"count": 2,
"records": [
{
"type": "NS",
"ttl": 3600,
"host": "onlinesuccessmembership.academy",
"answer": "dns102.registrar-servers.com"
},
{
"type": "NS",
"ttl": 3600,
"host": "onlinesuccessmembership.academy",
"answer": "dns101.registrar-servers.com"
}
]
},
"SOA": {
"ms": 219,
"count": 1,
"records": [
{
"type": "SOA",
"ttl": 3600,
"host": "onlinesuccessmembership.academy",
"answer": "dns101.registrar-servers.com hostmaster.parklogic.com 2021051901",
"mname": "dns101.registrar-servers.com",
"rname": "hostmaster.parklogic.com",
"serial": 2021051901,
"refresh": 7200,
"retry": 2400,
"expire": 604800,
"min_ttl": 600
}
]
},
"SRV": {
"ms": 459,
"count": 0,
"records": []
},
"PTR": {
"ms": 343,
"count": 0,
"records": []
},
"CAA": {
"ms": 230,
"count": 0,
"records": []
}
},
"ms": 2064
},
"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=onlinesuccessmembership.academy
curl -s '/api/v1/dns/lookup?q=onlinesuccessmembership.academy'
<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