Base functionality useful to various parts of Twisted Names.
|Function||extractRecord||Resolve a name to an IP address, following CNAME records and NS referrals recursively.|
Resolve a name to an IP address, following CNAME records and NS referrals recursively.
This is an implementation detail of
|Parameters||resolver||The resolver to use for the next query (unless handling an NS referral). (type: |
|name||The name being looked up. (type: |
|answers||All of the records returned by the previous query (answers, authority, and additional concatenated). (type: |
|level||Remaining recursion budget. This is decremented at each recursion. The query returns |
|Returns||The first IPv4 or IPv6 address (as a dotted quad or colon quibbles), or |