{"uid":"cap_AE1P566GOnBqu04MT1I39","slug":"dns-record-diff-d9236ad8","name":"DNS Record Diff","description":"Compare two bounded caller-supplied DNS record snapshots and return canonical added, removed, and unchanged records. Use after repeated DNS or MX inspections to detect an infrastructure change without another parser. Returns deterministic JSON for 0.001 USDC via x402 on Base; local-only, memory-only, and no DNS request is made.","url":"https://api.delx.ai/api/v1/x402/dns-record-diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"array","maxItems":500},"before":{"type":"array","maxItems":500}}},"responseSchema":{"type":"json","example":{"added":[{"type":"A","value":"192.0.2.2"}],"schema":"delx/util-dns-record-diff/v1","changed":true,"removed":[{"type":"A","value":"192.0.2.1"}],"after_count":1,"before_count":1,"unchanged_count":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vdt24Ejvbv2BW6ArZRkJn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two caller-supplied DNS record snapshots and returns a deterministic diff of added, removed, and unchanged records without making any live DNS requests.","exampleAgentPrompt":"Compare these two DNS record snapshots I captured before and after the deployment — the before list has the old records and the after list has the new ones — and tell me exactly which records were added, removed, or stayed the same.","exampleUseCases":[{"title":"Detect post-deployment DNS changes","prompt":"I ran a DNS check before and after our infrastructure migration — here are the two sets of records. Can you diff them and tell me what changed, what was removed, and what stayed the same?"},{"title":"Monitor MX record modifications","prompt":"I pulled our mail server's DNS records last week and again today. Compare the two snapshots and tell me if any MX records were added or dropped."},{"title":"Audit DNS rollback verification","prompt":"We rolled back a DNS change 10 minutes ago. Here are the records from before the rollback and after — can you confirm the original records are back and nothing unexpected was added?"}],"resultDescription":"A deterministic JSON object containing three lists: added records (present in 'after' but not 'before'), removed records (present in 'before' but not 'after'), and unchanged records (present in both). No live DNS requests are made; computation is entirely local and memory-only.","failureModes":["Exceeds 500-item limit on either 'before' or 'after' array — request rejected","Malformed array items that cannot be compared — may produce unexpected diff results","Missing 'before' or 'after' fields — invalid input error","Payment failure via x402 — request not processed"],"whenToPreferThis":"Use this endpoint when you already have two DNS record snapshots in memory and need a fast, deterministic diff without issuing another live DNS lookup. Ideal after repeated DNS or MX inspections to detect infrastructure changes cheaply. Prefer this over re-querying DNS when network calls are expensive, rate-limited, or when you need a reproducible audit trail of exactly what changed between two known states.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:49.684Z","isFirstParty":false}