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 |
|---|---|---|
| 86400s | A | 9.9.9.9 |
| TTL | Type | Answer |
|---|---|---|
| 3600s | CAA | 0 issue certum.pl |
| 3600s | CAA | 0 issue digicert.com |
| 3600s | CAA | 0 issue amazon.com |
| 3600s | CAA | 0 issue swisssign.com |
| 3600s | CAA | 0 issue pki.goog |
| 3600s | CAA | 0 issue identrust.com |
| 3600s | CAA | 0 issue trust-provider.com |
| 3600s | CAA | 0 issue ssl.com |
| 3600s | CAA | 0 issue letsencrypt.org |
| 3600s | CAA | 0 issue sectigo.com |
| 3600s | CAA | 0 issue buypass.com |
| 3600s | CAA | 0 issue usertrust.com |
| 3600s | CAA | 0 issue comodoca.com |
| 3600s | CAA | 0 issue godaddy.com |
| 3600s | CAA | 0 issue amazontrust.com |
| 3600s | CAA | 0 issue globalsign.com |
| 3600s | CAA | 0 issue microsoft.com |
| 3600s | CAA | 0 issue starfieldtech.com |
| 3600s | CAA | 0 issue entrust.net |
| 3600s | CAA | 0 issue harica.gr |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=ns2.latestinrockandmetalmusicenthusiast.mx.nf
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 1026,
"data": {
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"types": {
"A": {
"ms": 48,
"count": 1,
"records": [
{
"type": "A",
"ttl": 86400,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "9.9.9.9"
}
]
},
"AAAA": {
"ms": 321,
"count": 0,
"records": []
},
"MX": {
"ms": 61,
"count": 0,
"records": []
},
"TXT": {
"ms": 63,
"count": 0,
"records": []
},
"CNAME": {
"ms": 57,
"count": 0,
"records": []
},
"NS": {
"ms": 65,
"count": 0,
"records": []
},
"SOA": {
"ms": 200,
"count": 0,
"records": []
},
"SRV": {
"ms": 160,
"count": 0,
"records": []
},
"PTR": {
"ms": 34,
"count": 0,
"records": []
},
"CAA": {
"ms": 15,
"count": 20,
"records": [
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue certum.pl",
"tag": "issue",
"value": "certum.pl"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue digicert.com",
"tag": "issue",
"value": "digicert.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue amazon.com",
"tag": "issue",
"value": "amazon.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue swisssign.com",
"tag": "issue",
"value": "swisssign.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue pki.goog",
"tag": "issue",
"value": "pki.goog"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue identrust.com",
"tag": "issue",
"value": "identrust.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue trust-provider.com",
"tag": "issue",
"value": "trust-provider.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue ssl.com",
"tag": "issue",
"value": "ssl.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue letsencrypt.org",
"tag": "issue",
"value": "letsencrypt.org"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue sectigo.com",
"tag": "issue",
"value": "sectigo.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue buypass.com",
"tag": "issue",
"value": "buypass.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue usertrust.com",
"tag": "issue",
"value": "usertrust.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue comodoca.com",
"tag": "issue",
"value": "comodoca.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue godaddy.com",
"tag": "issue",
"value": "godaddy.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue amazontrust.com",
"tag": "issue",
"value": "amazontrust.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue globalsign.com",
"tag": "issue",
"value": "globalsign.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue microsoft.com",
"tag": "issue",
"value": "microsoft.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue starfieldtech.com",
"tag": "issue",
"value": "starfieldtech.com"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue entrust.net",
"tag": "issue",
"value": "entrust.net"
},
{
"type": "CAA",
"ttl": 3600,
"host": "ns2.latestinrockandmetalmusicenthusiast.mx.nf",
"answer": "0 issue harica.gr",
"tag": "issue",
"value": "harica.gr"
}
]
}
},
"ms": 1025
},
"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=ns2.latestinrockandmetalmusicenthusiast.mx.nf
curl -s '/api/v1/dns/lookup?q=ns2.latestinrockandmetalmusicenthusiast.mx.nf'
<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