Technical reference
DNS Propagation Checker technical details
This reference explains exactly how the DNS Propagation Checker runs a check: which sources it asks and how, how it decides whether an answer matches, and the limits and privacy rules it keeps to. It is written for system administrators who want to reproduce a result by hand.
How a check runs
- The page sends the name and record type to /api/tools/propagation.
- The name is checked first. Single-label names and internal suffixes such as .local, .internal and .lan are refused, because they have no public DNS. An IPv4 or IPv6 address is always checked as PTR, whatever type was sent, at its in-addr.arpa or ip6.arpa name (RFC 1035, RFC 3596); the start line carries the address as ip. Addresses are parsed strictly (four decimal parts from 0 to 255 with no leading zeros; eight IPv6 groups of up to four hex digits, with :: at most once), and ranges, ports and zone indexes are refused. Private, loopback, link-local, carrier-grade NAT, multicast, documentation and other reserved addresses are refused too, including when carried inside IPv4-mapped or NAT64 IPv6. An IPv4-mapped address is checked as the IPv4 address inside it.
- Three jobs start at once, and the answer streams back as newline-delimited JSON, one line per source, so rows appear as soon as each source answers.
- The page compares every row with a baseline (below) and redraws as lines arrive. Nothing is stored on the server.
Public resolvers (DNS-over-HTTPS)
Each enabled resolver gets one RFC 8484 GET request: the DNS query in wire format, base64url-encoded in the dns parameter, with recursion desired and the EDNS DO bit set so validating resolvers report DNSSEC status in the AD flag. A resolver configured for the JSON API gets ?name=&type=&do=1 instead. Each request has a five second timeout. The check runs on Cloudflare Workers, so each request reaches the resolver’s anycast site nearest the Cloudflare data center handling it.
Authoritative nameservers (DNS over TCP)
- The zone is found from the SOA record that a public resolver returns for the name (in the answer, or in the authority section when the name has no record of its own). If the name is a CNAME, its parent is used.
- The zone’s NS records are looked up, sorted, and up to three are picked. Each one’s IPv4 address is looked up; one that points to a private address is not contacted.
- The tool opens a TCP connection to port 53 on each (RFC 7766) and sends two queries on it with recursion turned off: the record you asked for, and the zone’s SOA for its serial. Each server has four seconds.
- An answer counts as authoritative only when the AA flag is set. If the servers disagree, the one with the highest SOA serial is used as the baseline.
TCP is used because Workers can open TCP sockets but can’t send UDP. Every authoritative server must answer over TCP (RFC 7766), so a server that fails here is worth checking.
Globalping probes
The enabled probe locations go to Globalping as one DNS measurement, one probe per location, querying over UDP port 53 with the probe’s default resolver. The server reads the measurement about every 1.2 seconds, up to ten times, and streams each probe as it finishes. A location with no online probe is skipped. Globalping’s DNS test doesn’t support CAA, so CAA checks use public resolvers and nameservers only.
Globalping gives each client a limited number of tests an hour. When few are left, the check runs an even spread of fewer cities and says how many. When none are left, or the same name and record type was checked moments ago, the city rows show that recent check instead, with its age above the map. Public resolvers and nameservers are always asked live.
How answers are compared
Only records of the requested type count; a CNAME chain on the way is shown but not compared. Values are normalized first:
| Type | Normalized as |
|---|---|
| A, AAAA | The address; IPv6 in its shortest form |
| CNAME, NS, PTR | Lowercase host name without the trailing dot |
| MX, SRV | Numbers as numbers, then the lowercase target |
| TXT | The quoted strings joined into one value |
| SOA | All seven fields, so a different serial counts as a different answer |
| DS, DNSKEY | Header fields, then the key or digest in uppercase with spaces removed |
The baseline is your expected value if you entered one (a row matches when it contains every expected value), otherwise the authoritative answer, otherwise the most common answer among the rows. A row is then Matches, Different, Not found (NXDOMAIN or no records) or Failed (SERVFAIL, REFUSED, FORMERR, NOTIMP, timeout or an HTTP error).
Limits and privacy
| Limit | Value |
|---|---|
| Checks per visitor | 20 an hour and 100 a day by default (set by the site administrator) |
| Public resolvers per check | Up to 24 |
| Probe locations per check | Up to 40; each counts as one Globalping test |
| Nameservers asked | Up to 3, IPv4 only |
| Timeouts | 5 seconds per resolver, 4 per nameserver, about 12 for probes |
The resolver and probe lists are kept by the site administrator and change over time. Your IP address is not sent to any resolver or to Globalping; queries come from DNS Panopticon’s servers. The name you check is sent to every source and is visible in Globalping’s measurement record. Results are not stored: they exist only in your browser.
Reproducing a result by hand
| Command | Matches this part of the check |
|---|---|
| dig +tcp +norecurse @ns1.example.net www.example.com A | An authoritative nameserver row |
| dig +tcp +norecurse @ns1.example.net example.com SOA | That server’s SOA serial |
| dig +https @1.1.1.1 www.example.com A | A public resolver row over DoH (dig 9.18 or later) |
| kdig +https @dns.google www.example.com A | The same with Knot’s kdig |
| Resolve-DnsName www.example.com -Type A -Server 8.8.8.8 | A resolver row from Windows PowerShell (plain DNS, not DoH) |
FAQ
Why only three nameservers?
To keep each check inside the request budget a Cloudflare Worker gets. Three is enough to spot a secondary that is behind; check the rest by hand with the commands above if needed.
Why is IPv6 not used for nameservers?
The check runs from Cloudflare Workers and connects to the first IPv4 address of each nameserver. A nameserver reachable only over IPv6 shows as failed.
Why does a probe show a resolver called private?
The probe asked a resolver inside its own network, such as its ISP’s or a data center’s, and Globalping hides its address.
Sources and further reading
- RFC 8484: DNS queries over HTTPS (DoH)
- RFC 7766: DNS transport over TCP, implementation requirements
- RFC 1035: Domain names, implementation and specification
- RFC 3596: DNS extensions to support IPv6 (ip6.arpa)
- RFC 6890: Special-purpose IP address registries
- RFC 6840: Clarifications and implementation notes for DNSSEC (the AD bit)
- Globalping API reference
- Cloudflare Workers: TCP sockets (connect API)
- Cloudflare Workers: limits