dnspython. Python DNS toolkit—seems like the kind of thing that should be in the standard library.
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!