For this kind of bulk lookup, dnspython is usually fine, but performance often
depends more on resolver settings, timeout, retry behavior, and concurrency
limits than on the library alone. socket.getaddrinfo will not help for MX/TXT,
and calling dig in subprocesses is usually not worth the overh
You can check classes and methods in Python by using the built-in introspection
tools. dir(obj) shows the available attributes and methods, help(obj) shows the
documentation for an object, and help(obj.method) shows details for one method.
If you want to see the parameters of a callable, inspect