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 | 18.65.39.21 |
| 60s | A | 18.65.39.96 |
| 60s | A | 18.65.39.60 |
| 60s | A | 18.65.39.32 |
| TTL | Type | Answer |
|---|---|---|
| 60s | AAAA | 2600:9000:238d:ba00:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:2200:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:ea00:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:d600:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:d400:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:d000:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:4a00:9:8e85:7300:93a1 |
| 60s | AAAA | 2600:9000:238d:a000:9:8e85:7300:93a1 |
| TTL | Type | Answer |
|---|---|---|
| 59s | CNAME | d2nj7rrjh5l87g.cloudfront.net |
| TTL | Type | Answer |
|---|---|---|
| 172800s | NS | ns-1366.awsdns-42.org |
| 172800s | NS | ns-1770.awsdns-29.co.uk |
| 172800s | NS | ns-78.awsdns-09.com |
| 172800s | NS | ns-881.awsdns-46.net |
| TTL | Type | Answer |
|---|---|---|
| 60s | SOA | ns-881.awsdns-46.net awsdns-hostmaster.amazon.com 1 |
Raw JSON / API equivalent
/api/v1/dns/lookup?q=accounts-dev.flashbox.al
{
"ok": true,
"slug": "dns/lookup",
"title": "DNS lookup (dig)",
"ms": 121,
"data": {
"host": "accounts-dev.flashbox.al",
"types": {
"A": {
"ms": 18,
"count": 4,
"records": [
{
"type": "A",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "18.65.39.21"
},
{
"type": "A",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "18.65.39.96"
},
{
"type": "A",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "18.65.39.60"
},
{
"type": "A",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "18.65.39.32"
}
]
},
"AAAA": {
"ms": 20,
"count": 8,
"records": [
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:ba00:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:2200:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:ea00:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:d600:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:d400:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:d000:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:4a00:9:8e85:7300:93a1"
},
{
"type": "AAAA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "2600:9000:238d:a000:9:8e85:7300:93a1"
}
]
},
"MX": {
"ms": 26,
"count": 0,
"records": []
},
"TXT": {
"ms": 9,
"count": 0,
"records": []
},
"CNAME": {
"ms": 0,
"count": 1,
"records": [
{
"type": "CNAME",
"ttl": 59,
"host": "accounts-dev.flashbox.al",
"answer": "d2nj7rrjh5l87g.cloudfront.net"
}
]
},
"NS": {
"ms": 8,
"count": 4,
"records": [
{
"type": "NS",
"ttl": 172800,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "ns-1366.awsdns-42.org"
},
{
"type": "NS",
"ttl": 172800,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "ns-1770.awsdns-29.co.uk"
},
{
"type": "NS",
"ttl": 172800,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "ns-78.awsdns-09.com"
},
{
"type": "NS",
"ttl": 172800,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "ns-881.awsdns-46.net"
}
]
},
"SOA": {
"ms": 6,
"count": 1,
"records": [
{
"type": "SOA",
"ttl": 60,
"host": "d2nj7rrjh5l87g.cloudfront.net",
"answer": "ns-881.awsdns-46.net awsdns-hostmaster.amazon.com 1",
"mname": "ns-881.awsdns-46.net",
"rname": "awsdns-hostmaster.amazon.com",
"serial": 1,
"refresh": 7200,
"retry": 900,
"expire": 1209600,
"min_ttl": 86400
}
]
},
"SRV": {
"ms": 7,
"count": 0,
"records": []
},
"PTR": {
"ms": 6,
"count": 0,
"records": []
},
"CAA": {
"ms": 21,
"count": 0,
"records": []
}
},
"ms": 121
},
"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=accounts-dev.flashbox.al
curl -s '/api/v1/dns/lookup?q=accounts-dev.flashbox.al'
<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