Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.13 KB

query.rst

File metadata and controls

51 lines (35 loc) · 1.13 KB

dns.query

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 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.

UDP

dns.query.udp

dns.query.udp_with_fallback

dns.query.send_udp

dns.query.receive_udp

TCP

dns.query.tcp

dns.query.send_tcp

dns.query.receive_tcp

TLS

dns.query.tls

HTTPS

dns.query.https

Zone Transfers

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