host.tools

DNS lookup (dig)

DNS /api/v1/dns/lookup

Query A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, CAA, PTR — all types at once.

Host
dvas.app
Total time
44 ms
Source
live
Records found
6
A 1 record
4 ms
TTLTypeAnswer
1799s A 8.8.8.8
MX 1 record
4 ms
TTLTypeAnswer
300s MX 10 work-mx.app.hey.com
TXT 1 record
0 ms
TTLTypeAnswer
1774s TXT hey-verification:egfEdBXvqeNfmC5MwoUNamiR
NS 2 records
10 ms
TTLTypeAnswer
1800s NS dns2.registrar-servers.com
1800s NS dns1.registrar-servers.com
SOA 1 record
1 ms
TTLTypeAnswer
3600s SOA dns1.registrar-servers.com hostmaster.registrar-servers.com 1686740599
Raw JSON / API equivalent
JSON endpoint
/api/v1/dns/lookup?q=dvas.app
{
    "ok": true,
    "slug": "dns/lookup",
    "title": "DNS lookup (dig)",
    "ms": 44,
    "data": {
        "host": "dvas.app",
        "types": {
            "A": {
                "ms": 4,
                "count": 1,
                "records": [
                    {
                        "type": "A",
                        "ttl": 1799,
                        "host": "dvas.app",
                        "answer": "8.8.8.8"
                    }
                ]
            },
            "AAAA": {
                "ms": 5,
                "count": 0,
                "records": []
            },
            "MX": {
                "ms": 4,
                "count": 1,
                "records": [
                    {
                        "type": "MX",
                        "ttl": 300,
                        "host": "dvas.app",
                        "answer": "10 work-mx.app.hey.com",
                        "priority": 10,
                        "target": "work-mx.app.hey.com"
                    }
                ]
            },
            "TXT": {
                "ms": 0,
                "count": 1,
                "records": [
                    {
                        "type": "TXT",
                        "ttl": 1774,
                        "host": "dvas.app",
                        "answer": "hey-verification:egfEdBXvqeNfmC5MwoUNamiR"
                    }
                ]
            },
            "CNAME": {
                "ms": 7,
                "count": 0,
                "records": []
            },
            "NS": {
                "ms": 10,
                "count": 2,
                "records": [
                    {
                        "type": "NS",
                        "ttl": 1800,
                        "host": "dvas.app",
                        "answer": "dns2.registrar-servers.com"
                    },
                    {
                        "type": "NS",
                        "ttl": 1800,
                        "host": "dvas.app",
                        "answer": "dns1.registrar-servers.com"
                    }
                ]
            },
            "SOA": {
                "ms": 1,
                "count": 1,
                "records": [
                    {
                        "type": "SOA",
                        "ttl": 3600,
                        "host": "dvas.app",
                        "answer": "dns1.registrar-servers.com hostmaster.registrar-servers.com 1686740599",
                        "mname": "dns1.registrar-servers.com",
                        "rname": "hostmaster.registrar-servers.com",
                        "serial": 1686740599,
                        "refresh": 43200,
                        "retry": 3600,
                        "expire": 604800,
                        "min_ttl": 3601
                    }
                ]
            },
            "SRV": {
                "ms": 5,
                "count": 0,
                "records": []
            },
            "PTR": {
                "ms": 4,
                "count": 0,
                "records": []
            },
            "CAA": {
                "ms": 4,
                "count": 0,
                "records": []
            }
        },
        "ms": 44
    },
    "source": "live",
    "meta": []
}
Sponsored host.tools Pro
Bulk lookups · monitors · webhooks · 10,000 API calls/day

Upgrade to Pro for $19/mo. Cancel anytime. Works with the same API you already use.

How to use DNS lookup (dig)
  1. 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. 2
    Click "Inspect"

    host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.

  3. 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.

Why this matters

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 equivalent
/api/v1/dns/lookup?q=dvas.app
curl -s '/api/v1/dns/lookup?q=dvas.app'
Embed this tool
<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.

FAQ · DNS lookup (dig)

Common questions

Is DNS lookup (dig) free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/dns/lookup is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass ?nocache=1 for a forced refresh.
Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI: host.tools dns lookup YOUR_INPUT.
Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro

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