blob: dc226923d12bd45284d9fc2343eb0e1dd3783852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
.. module:: dns.asyncquery
.. _async_query:
DNS Query Support
=================
The ``dns.asyncquery`` 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.asyncresolver`` module; see
:ref:`async_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
---
.. autofunction:: dns.asyncquery.udp
.. autofunction:: dns.asyncquery.udp_with_fallback
.. autofunction:: dns.asyncquery.send_udp
.. autofunction:: dns.asyncquery.receive_udp
TCP
---
.. autofunction:: dns.asyncquery.tcp
.. autofunction:: dns.asyncquery.send_tcp
.. autofunction:: dns.asyncquery.receive_tcp
TLS
---
.. autofunction:: dns.asyncquery.tls
HTTPS
-----
.. autofunction:: dns.asyncquery.https
Zone Transfers
--------------
.. autofunction:: dns.asyncquery.inbound_xfr
|