dns.query
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 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.
dns.query.udp
dns.query.udp_with_fallback
dns.query.send_udp
dns.query.receive_udp
dns.query.tcp
dns.query.send_tcp
dns.query.receive_tcp
dns.query.tls
dns.query.https
As of dnspython 2.1, :pydns.query.xfr
is deprecated. Please use :pydns.query.inbound_xfr
instead.
dns.query.UDPMode
dns.query.inbound_xfr
dns.query.xfr