Home / Guides / Self-Hosting & Infra
DNS Lookups in Python with dnspython: A, MX, TXT, NS, TTL, NXDOMAIN vs NoAnswer and Resolver Choice
Executed against a public resolver (1.1.1.1) for a real domain: A, MX, TXT, NS answers with TTLs from 300 to 86400 seconds, NoAnswer for CNAME on a name that has none, NXDOMAIN for a random subdomain, and SPF text records.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →