Skip to content

DNS propagation

POST /dns/propagation asks public DNS resolvers run by different operators for one record and returns each answer, its TTL and the consensus.

POSThttps://api.qelka.com/v1/dns/propagation

Compare one DNS record across 12 public resolvers run by different operators, to see whether a change has reached them. Each check costs 1 credit when at least one resolver answers; results are never cached.

Request

domainstringRequired
The name to look up, such as example.com, www.example.com or _dmarc.example.com. A URL or an email address is reduced to its host.
record_typestringDefault "A"
A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV or PTR.
freshbooleanDefault false
Accepted for symmetry; results are never cached.

Every resolver is asked at the same time with a 3-second limit, so every snippet sets a 15-second client timeout.

curl https://api.qelka.com/v1/dns/propagation \
  --max-time 15 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "example.com", "record_type": "A"}'
const response = await fetch('https://api.qelka.com/v1/dns/propagation', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ domain: 'example.com', record_type: 'A' }),
  signal: AbortSignal.timeout(15_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/dns/propagation",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"domain": "example.com", "record_type": "A"},
    timeout=15,
)
result = response.json()
print(result)
<?php
$ch = curl_init('https://api.qelka.com/v1/dns/propagation');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('QELKA_API_KEY'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode(['domain' => 'example.com', 'record_type' => 'A']),
    CURLOPT_TIMEOUT => 15,
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"time"
)

func main() {
	payload, _ := json.Marshal(map[string]any{"domain": "example.com", "record_type": "A"})
	request, _ := http.NewRequest(http.MethodPost, "https://api.qelka.com/v1/dns/propagation", bytes.NewReader(payload))
	request.Header.Set("Authorization", "Bearer "+os.Getenv("QELKA_API_KEY"))
	request.Header.Set("Content-Type", "application/json")

	client := &http.Client{Timeout: 15 * time.Second}
	response, err := client.Do(request)
	if err != nil {
		panic(err)
	}
	defer response.Body.Close()

	var result map[string]any
	if err := json.NewDecoder(response.Body).Decode(&result); err != nil {
		panic(err)
	}
	fmt.Println(result)
}
require 'json'
require 'net/http'

uri = URI('https://api.qelka.com/v1/dns/propagation')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = "Bearer #{ENV.fetch('QELKA_API_KEY')}"
request['Content-Type'] = 'application/json'
request.body = JSON.generate({ domain: 'example.com', record_type: 'A' })

response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 15) do |http|
  http.request(request)
end
result = JSON.parse(response.body)
puts result

Response

idstring
Identifier of this lookup.
objectstring
Always dns_propagation.
inputstring
The domain you sent.
domainstring
The name that was looked up, lower case.
record_typestring
The record type asked.
statusstring
consistent, inconsistent, not_found or unavailable.
consensus.answersarray of strings
The most common record set among the resolvers that answered, sorted.
consensus.agreeinginteger
Resolvers that returned exactly that set.
consensus.answeringinteger
Resolvers that answered NOERROR or NXDOMAIN.
consensus.totalinteger
Resolvers asked.
resolversarray of objects
One entry per resolver, in a fixed order.
resolvers.idstring
Stable identifier, such as cloudflare or quad9.
resolvers.namestring
Name of the service.
resolvers.operatorstring
Company or foundation that runs it.
resolvers.countrystring
ISO 3166-1 alpha-2 code of the country where the operator is based; anycast servers answer from many places.
resolvers.statusstring
NOERROR, NXDOMAIN, SERVFAIL, REFUSED, TIMEOUT or ERROR.
resolvers.answersarray of objects
Records of the requested type, sorted: data and ttl, the seconds the resolver keeps the record from now.
resolvers.matches_consensusboolean
true when this resolver returned the consensus.
resolvers.duration_msinteger or null
Time the resolver took to answer, from our servers.
checked_atstring
Time of the check, ISO 8601.
credits_usedinteger
Credits debited for this call: 1 with a live key when the result is billed, else 0.
cachedboolean
true never: results are not cached.
Response
{
  "id": "lkp_01M8CGD4549ZYHJR3509GC1T16",
  "object": "dns_propagation",
  "input": "example.com",
  "domain": "example.com",
  "record_type": "A",
  "status": "consistent",
  "consensus": {
    "answers": ["104.20.23.154", "172.66.147.243"],
    "agreeing": 12,
    "answering": 12,
    "total": 12
  },
  "resolvers": [
    {
      "id": "cloudflare",
      "name": "Cloudflare 1.1.1.1",
      "operator": "Cloudflare",
      "country": "US",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 69},
        {"data": "172.66.147.243", "ttl": 69}
      ],
      "matches_consensus": true,
      "duration_ms": 20
    },
    {
      "id": "google",
      "name": "Google Public DNS",
      "operator": "Google",
      "country": "US",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 300},
        {"data": "172.66.147.243", "ttl": 300}
      ],
      "matches_consensus": true,
      "duration_ms": 57
    },
    {
      "id": "quad9",
      "name": "Quad9",
      "operator": "Quad9 Foundation",
      "country": "CH",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 113},
        {"data": "172.66.147.243", "ttl": 113}
      ],
      "matches_consensus": true,
      "duration_ms": 31
    },
    {
      "id": "opendns",
      "name": "OpenDNS",
      "operator": "Cisco",
      "country": "US",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 248},
        {"data": "172.66.147.243", "ttl": 248}
      ],
      "matches_consensus": true,
      "duration_ms": 59
    },
    {
      "id": "adguard",
      "name": "AdGuard DNS (unfiltered)",
      "operator": "AdGuard",
      "country": "CY",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 111},
        {"data": "172.66.147.243", "ttl": 111}
      ],
      "matches_consensus": true,
      "duration_ms": 61
    },
    {
      "id": "nextdns",
      "name": "NextDNS",
      "operator": "NextDNS",
      "country": "US",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 162},
        {"data": "172.66.147.243", "ttl": 162}
      ],
      "matches_consensus": true,
      "duration_ms": 85
    },
    {
      "id": "controld",
      "name": "Control D (unfiltered)",
      "operator": "Windscribe",
      "country": "CA",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 104},
        {"data": "172.66.147.243", "ttl": 104}
      ],
      "matches_consensus": true,
      "duration_ms": 52
    },
    {
      "id": "dnssb",
      "name": "DNS.SB",
      "operator": "xTom",
      "country": "DE",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 102},
        {"data": "172.66.147.243", "ttl": 102}
      ],
      "matches_consensus": true,
      "duration_ms": 227
    },
    {
      "id": "mullvad",
      "name": "Mullvad DNS",
      "operator": "Mullvad VPN",
      "country": "SE",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 113},
        {"data": "172.66.147.243", "ttl": 113}
      ],
      "matches_consensus": true,
      "duration_ms": 775
    },
    {
      "id": "alidns",
      "name": "AliDNS",
      "operator": "Alibaba Cloud",
      "country": "CN",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 203},
        {"data": "172.66.147.243", "ttl": 203}
      ],
      "matches_consensus": true,
      "duration_ms": 409
    },
    {
      "id": "iij",
      "name": "IIJ Public DNS",
      "operator": "Internet Initiative Japan",
      "country": "JP",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 168},
        {"data": "172.66.147.243", "ttl": 168}
      ],
      "matches_consensus": true,
      "duration_ms": 628
    },
    {
      "id": "hurricane_electric",
      "name": "Hurricane Electric",
      "operator": "Hurricane Electric",
      "country": "US",
      "status": "NOERROR",
      "answers": [
        {"data": "104.20.23.154", "ttl": 18},
        {"data": "172.66.147.243", "ttl": 18}
      ],
      "matches_consensus": true,
      "duration_ms": 233
    }
  ],
  "checked_at": "2026-11-26T18:03:10.372Z",
  "credits_used": 1,
  "cached": false
}

Act on the status

status What it means Billed
consistent Every resolver that answered returned the same record set. Yes
inconsistent At least one resolver returned another set, or none: usually an older value still in its cache, until its TTL ends. Names behind a CDN or geographic DNS answer differently by design. Yes
not_found Resolvers answered but none returned a record of this type. Yes
unavailable No resolver answered within the timeout. No

Resolvers

Cloudflare 1.1.1.1, Google Public DNS, Quad9, OpenDNS (Cisco), AdGuard DNS unfiltered, NextDNS, Control D unfiltered (Windscribe), DNS.SB (xTom), Mullvad DNS, AliDNS (Alibaba Cloud), IIJ Public DNS and Hurricane Electric. Each is queried in DNS wire format over HTTPS (RFC 8484). Filtering resolvers are left out so a blocked name never looks like a missing record. Answers are compared as sets: the order of records does not matter and host names are compared without case.

Batch and bulk

Send up to 100 names in one batch with "type": "dns_propagation" and an optional record_type, or a CSV column as a bulk job, where the A record of each name is compared and the output lists the consensus, the counts and the resolvers that disagree. The MCP tool is check_dns_propagation.