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 |
|---|---|---|
| 21600s | A | 9.9.9.9 |
| TTL | Type | Answer |
|---|---|---|
| 3600s | MX | 50 mx3.zoho.com |
| 3600s | MX | 20 mx2.zoho.com |
| 3600s | MX | 10 mx.zoho.com |
| TTL | Type | Answer |
|---|---|---|
| 3600s | TXT | v=spf1 include:zoho.com ~all |
| TTL | Type | Answer |
|---|---|---|
| 21600s | NS | ns13.dnsexit.com |
| 21600s | NS | ns11.dnsexit.com |
| 21600s | NS | ns10.dnsexit.com |
| 21600s | NS | ns12.dnsexit.com |
| TTL | Type | Answer |
|---|---|---|
| 21600s | SOA | ns1.dnsexit.com admin.netdorm.com 2000060701 |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=oppaimail.linkpc.net
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 1782,
"data": {
"host": "oppaimail.linkpc.net",
"types": {
"A": {
"ms": 120,
"count": 1,
"records": [
{
"type": "A",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "9.9.9.9"
}
]
},
"AAAA": {
"ms": 226,
"count": 0,
"records": []
},
"MX": {
"ms": 125,
"count": 3,
"records": [
{
"type": "MX",
"ttl": 3600,
"host": "oppaimail.linkpc.net",
"answer": "50 mx3.zoho.com",
"priority": 50,
"target": "mx3.zoho.com"
},
{
"type": "MX",
"ttl": 3600,
"host": "oppaimail.linkpc.net",
"answer": "20 mx2.zoho.com",
"priority": 20,
"target": "mx2.zoho.com"
},
{
"type": "MX",
"ttl": 3600,
"host": "oppaimail.linkpc.net",
"answer": "10 mx.zoho.com",
"priority": 10,
"target": "mx.zoho.com"
}
]
},
"TXT": {
"ms": 107,
"count": 1,
"records": [
{
"type": "TXT",
"ttl": 3600,
"host": "oppaimail.linkpc.net",
"answer": "v=spf1 include:zoho.com ~all"
}
]
},
"CNAME": {
"ms": 231,
"count": 0,
"records": []
},
"NS": {
"ms": 125,
"count": 4,
"records": [
{
"type": "NS",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "ns13.dnsexit.com"
},
{
"type": "NS",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "ns11.dnsexit.com"
},
{
"type": "NS",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "ns10.dnsexit.com"
},
{
"type": "NS",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "ns12.dnsexit.com"
}
]
},
"SOA": {
"ms": 124,
"count": 1,
"records": [
{
"type": "SOA",
"ttl": 21600,
"host": "oppaimail.linkpc.net",
"answer": "ns1.dnsexit.com admin.netdorm.com 2000060701",
"mname": "ns1.dnsexit.com",
"rname": "admin.netdorm.com",
"serial": 2000060701,
"refresh": 86000,
"retry": 180000,
"expire": 1814400,
"min_ttl": 1200
}
]
},
"SRV": {
"ms": 250,
"count": 0,
"records": []
},
"PTR": {
"ms": 245,
"count": 0,
"records": []
},
"CAA": {
"ms": 230,
"count": 0,
"records": []
}
},
"ms": 1782
},
"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=oppaimail.linkpc.net
curl -s '/api/v1/dns/lookup?q=oppaimail.linkpc.net'
<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