# DNS Propagation Checker API

> DNS Propagation Checker is a DNS checker API that verifies if DNS changes have propagated across multiple global DNS servers. It queries DNS servers worldwide to show the current state of your DNS records.

**Endpoint:** `GET https://api.apiverve.com/v1/dnspropagation`  
**Category:** Domain Data  
**Cost:** 30 credits per call  
**Canonical page:** https://apiverve.com/marketplace/dnspropagation

## Overview

DNS Propagation Checker works by querying the same DNS record from multiple geographically distributed DNS servers. This helps identify if recent DNS changes have propagated globally or if some regions still have cached old records.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/dnspropagation?domain=google.com&type=A" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | The domain name to check propagation for. domain |
| `type` | string | No | The DNS record type to check. default A. One of: A, AAAA, MX, NS, TXT, CNAME |

## Response fields

- `domain` — string · The domain name that was checked for propagation
- `recordType` — string · The DNS record type that was queried (A, AAAA, MX, etc)
- `propagationComplete` — boolean · Whether every server that answered returned the authoritative answer. A/AAAA records from geo-DNS or round-robin domains count as propagated when each server returns a non-empty, location-appropriate set; a server that times out does not count against it. Falls back to consistentAnswers when the authoritative nameserver cannot be read
- `serversChecked` — number · Total number of DNS servers checked globally
- `serversResponded` — number · Number of servers that responded successfully
- `uniqueResponses` — number · Number of unique DNS values returned by all servers
  - `results.0.server` — string · DNS server provider name (Google, Cloudflare, OpenDNS, etc)
  - `results.0.location` — string · Geographic location of the DNS server
  - `results.0.ip` — string · IP address of the DNS server being queried
  - `results.0.success` — boolean · Whether the query to this server succeeded
  - `results.0.records` — array · Array of DNS records returned by this server
  - `results.0.error` — object · Error message if query failed, null if successful
  - `results.0.responseTime` — number · Response time in milliseconds from this DNS server · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "domain": "google.com",
    "recordType": "A",
    "propagationComplete": true,
    "serversChecked": 10,
    "serversResponded": 10,
    "uniqueResponses": 1,
    "results": [
      {
        "server": "Google",
        "location": "United States",
        "ip": "8.8.8.8",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 23
      },
      {
        "server": "Cloudflare",
        "location": "Global",
        "ip": "1.1.1.1",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 18
      },
      {
        "server": "OpenDNS",
        "location": "United States",
        "ip": "208.67.222.222",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 31
      },
      {
        "server": "Quad9",
        "location": "Global",
        "ip": "9.9.9.9",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 25
      },
      {
        "server": "Control D",
        "location": "Global",
        "ip": "76.76.2.0",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 42
      },
      {
        "server": "Level3",
        "location": "United States",
        "ip": "4.2.2.1",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 28
      },
      {
        "server": "Verisign",
        "location": "United States",
        "ip": "64.6.64.6",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 35
      },
      {
        "server": "DNS4EU",
        "location": "Europe",
        "ip": "86.54.11.100",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 89
      },
      {
        "server": "Yandex",
        "location": "Russia",
        "ip": "77.88.8.8",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 112
      },
      {
        "server": "Hurricane Electric",
        "location": "United States",
        "ip": "74.82.42.42",
        "success": true,
        "records": [
          "142.250.80.46"
        ],
        "error": null,
        "responseTime": 29
      }
    ]
  }
}
```

## Use cases

- **DNS Change Verification** — Verify that DNS changes have propagated globally after updating nameservers, A records, or other DNS settings
- **Troubleshooting** — Diagnose DNS issues by checking if different regions see different DNS values
- **Migration Monitoring** — Monitor DNS propagation during domain or hosting migrations to know when it's safe to proceed
- **TTL Verification** — Verify that TTL settings are working correctly by checking propagation timing

## SDKs

- **npm** — `npm install @apiverve/dnspropagation` (https://www.npmjs.com/package/@apiverve/dnspropagation)
- **NuGet** — `dotnet add package APIVerve.API.DNSPropagationChecker` (https://www.nuget.org/packages/APIVerve.API.DNSPropagationChecker)
- **Source** — https://github.com/apiverve/dnspropagation-api

## More

- Full reference: https://docs.apiverve.com/ref/dnspropagation
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
