DevOps Free Tier Available

DNSLookup

Query A, AAAA, CNAME, MX, TXT, NS, and SOA records. Supports propagation checking across global resolvers.

Free tier: 5,000 queries/month Method: GET

Quick Start

Get started with DNSLookup in 3 steps:

  1. 1. Get your free API key (instant, no credit card)
  2. 2. Activate your key to unlock all endpoints
  3. 3. Make your first request using the examples below

Endpoint

GET https://freeapitools.dev/api/v1/dns

Parameters

Name Type Required Description
domain string Required Domain name
type string Optional Record type (A, AAAA, MX, TXT, etc.)
api_key string Required Your API key. Get one free →

Code Examples

cURL

curl "https://freeapitools.dev/api/v1/dns?domain=example"

Node.js / JavaScript

const response = await fetch(
  'https://freeapitools.dev/api/v1/dns?domain=example',
  { headers: { 'X-API-Key': 'YOUR_API_KEY' } }
);
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    'https://freeapitools.dev/api/v1/dns',
    params={'domain': 'example'},
    headers={'X-API-Key': 'YOUR_API_KEY'}
)
print(response.json())

Example Response

{
  "records": [
    {
      "type": "A",
      "value": "104.21.32.1",
      "ttl": 300
    }
  ],
  "propagation": "complete"
}

Rate Limits

Plan Limit Price
Free 5,000 queries/month $0 / month
Enhanced (10x) 10x free tier limits $0 / monthcomplete compatibility check
Unlimited No limits $0 / monthsend environment profile

Start Using DNSLookup for Free

Get your API key instantly. No credit card, no signup form — just a simple API call.

Get Free API Key →