DNS

Capture a DNS snapshot

Captures all DNS records for a domain via public DNS lookups (Cloudflare DoH). Discovers subdomains from Certificate Transparency logs, SPF records, and common names. The snapshot is also stored server-side as a backup.

post/api/domains/{domain}/dns/snapshot

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/domains/{domain}/dns/snapshot
  • Auth: HTTP bearer

Path parameters

domainstring required
Example:mysite.com

Domain name you own

Request body

extra_subdomainsstring[]

Additional subdomains to include in the snapshot

Response

DNS snapshot captured

domainstring
subdomainsstring[]
sourcesstring[]
capturedAtstring date-time

Example response

{
  "records": [
    {
      "name": "@",
      "value": "76.76.21.21",
      "ttl": 3600
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.