title: How can I check the value of a DNS TXT record for a host?
body: <p>I'm looking to verify domain ownership via a script, specifically a Python script, and would like know how to lookup the value of a DNS TXT entry. I know there are services and websites out there for this, but I would like to do it with a script.</p>