# DNS Propagation Checker — Multi-Resolver Compare (`q_services/dns-propagation-checker`) Actor

Check if a DNS change has propagated by comparing answers from Cloudflare, Google and NextDNS resolvers. Ideal during migrations.

- **URL**: https://apify.com/q\_services/dns-propagation-checker.md
- **Developed by:** [Q Services](https://apify.com/q_services) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## DNS Propagation Checker — Multi-Resolver Compare

Vérifie si un changement DNS s'est **propagé** en interrogeant plusieurs résolveurs publics (**Cloudflare, Google, NextDNS**) pour le même enregistrement et en comparant leurs réponses.

Idéal pour : les migrations DNS (savoir si le changement est visible partout avant de basculer), le monitoring de cohérence, le diagnostic de problèmes de résolution.

**Exemple de résultat :**

```json
{
    "domain": "apify.com",
    "recordType": "A",
    "propagated": true,
    "partiallyPropagated": false,
    "resolversQueried": 3,
    "resolversResponded": 3,
    "distinctAnswers": 1,
    "results": [
        { "resolver": "Cloudflare", "ok": true, "records": ["52.222.169.18", "..."] },
        { "resolver": "Google", "ok": true, "records": ["52.222.169.18", "..."] },
        { "resolver": "NextDNS", "ok": true, "records": ["52.222.169.18", "..."] }
    ],
    "scrapedAt": "2026-07-10T10:30:00.000Z"
}
```

### Comment l'utiliser

1. Collez vos **domaines**
2. Choisissez le **type d'enregistrement** (A par défaut)
3. Cliquez sur **Start** — pendant une migration, relancez jusqu'à `propagated: true`

### Combien ça coûte ?

| Événement | Prix |
|---|---|
| Démarrage du run | 0,005 $ |
| Par domaine vérifié | 0,0005 $ |

**Exemple : 200 domaines ≈ 0,11 $.**

### Champs retournés

`domain`, `recordType`, `propagated` (tous les résolveurs d'accord), `partiallyPropagated` (réponses divergentes = propagation en cours), `resolversQueried`, `resolversResponded`, `distinctAnswers`, `results` (détail par résolveur), `scrapedAt`.

### Comment lire le résultat

- `propagated: true` → tous les résolveurs renvoient la même réponse : changement pleinement propagé.
- `partiallyPropagated: true` → les résolveurs divergent : le changement est en cours de propagation, réessayez plus tard.
- `resolversResponded < resolversQueried` → un résolveur n'a pas répondu (réessayez).

### Limitations

- Compare 3 résolveurs DoH publics majeurs (bonne couverture mondiale) — pas un test exhaustif de tous les serveurs DNS de la planète
- Le cache DNS et les TTL influencent la vitesse de propagation observée

### FAQ

**Puis-je l'utiliser via API ?** Oui, appelable par API et via MCP.

# Actor input Schema

## `domains` (type: `array`):

Domaines à vérifier (avec ou sans https://). Exemple : example.com

## `recordType` (type: `string`):

Type DNS à comparer entre résolveurs.

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "recordType": "A"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com"
    ],
    "recordType": "A"
};

// Run the Actor and wait for it to finish
const run = await client.actor("q_services/dns-propagation-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": ["apify.com"],
    "recordType": "A",
}

# Run the Actor and wait for it to finish
run = client.actor("q_services/dns-propagation-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com"
  ],
  "recordType": "A"
}' |
apify call q_services/dns-propagation-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=q_services/dns-propagation-checker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/M5jxai9wd1cXMrunM/builds/A9tUJJBQODL1NgEcg/openapi.json
