メモ/python/dnspython/dns.resolverについて、ここに記述してください。
https://dnspython.readthedocs.io/en/stable/resolver-class.html (Stub resolver)
DNS Query Support
The dns.query module is for sending messages to DNS servers, and processing their responses. If you want “stub resolver” behavior, then you should use the higher level dns.resolver module; see Stub Resolver.
For UDP and TCP, the module provides a single “do everything” query function, and also provides the send and receive halves of this function individually for situations where more sophisticated I/O handling is being used by the application.