| 123456789101112131415161718192021222324252627282930313233 |
- .. module:: dns.query
- .. _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 :ref:`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 in
- being used by the application.
- UDP
- ---
- .. autofunction:: dns.query.udp
- .. autofunction:: dns.query.send_udp
- .. autofunction:: dns.query.receive_udp
- TCP
- ---
- .. autofunction:: dns.query.tcp
- .. autofunction:: dns.query.send_tcp
- .. autofunction:: dns.query.receive_tcp
-
- Zone Transfers
- --------------
- .. autofunction:: dns.query.xfr
|