Compare two DNS zone snapshots and report what the change does
Compare two DNS zone snapshots and report what the change does. Losing the last record of a type at a name stops something resolving once caches expire, and losing one value out of several does not, so the two are separated. A value change at one name is reported as a change rather than as an unrelated removal and addition. A TTL change is reported for its own reason: the old TTL governs how long the old answer survives, so a new one does not take effect until the old has expired.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/dns-record-diff
| Category | Everything else |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | no answer |
Example input (from the provider)
{
"body": {
"after": [
{
"name": "example.test",
"ttl": 300,
"type": "A",
"value": "203.0.113.99"
},
{
"name": "example.test",
"ttl": 3600,
"type": "MX",
"value": "10 mx1.vendor.test"
},
{
"name": "status.example.test",
"ttl": 3600,
"type": "CNAME",
"value": "pages.vendor.test"
}
],
"before": [
{
"name": "example.test",
"ttl": 3600,
"type": "A",
"value": "203.0.113.10"
},
{
"name": "example.test",
"ttl": 3600,
"type": "MX",
"value": "10 mx1.vendor.test"
},
{
"name": "example.test",
"ttl": 3600,
"type": "MX",
"value": "20 mx2.vendor.test"
},
{
"name": "_dmarc.example.test",
"ttl": 3600,
"type": "TXT",
"value": "v=DMARC1; p=none; rua=mailto:d@example.test"
}
],
"zone": "example.test"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"after": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 253,
"type": "string"
},
"ttl": {
"minimum": 0,
"type": "integer"
},
"type": {
"maxLength": 16,
"type": "string"
},
"value": {
"maxLength": 4096,
"type": "string"
}
},
"required": [
"name",
"type",
"value"
],
"type": "object"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
},
"before": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 253,
"type": "string"
},
"ttl": {
"minimum": 0,
"type": "integer"
},
"type": {
"maxLength": 16,
"type": "string"
},
"value": {
"maxLength": 4096,
"type": "string"
}
},
"required": [
"name",
"type",
"value"
],
"type": "object"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
},
"zone": {
"maxLength": 253,
"type": "string"
}
},
"required": [
"zone",
"before",
"after"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}