summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2021-11-20 06:37:43 -0800
committerGitHub <noreply@github.com>2021-11-20 06:37:43 -0800
commit6ab1de0d242e44e8d14a9e0ecbadf2dee1a41d6c (patch)
tree4e8cb5b14aefbe1f9fff453da09e2faec5415a0e /doc
parentb1af5cd98a73831737e66e70e5aca8b3a6efdb30 (diff)
parentcd27bb6f60954934180a1c17d469d8bff9205635 (diff)
downloaddnspython-6ab1de0d242e44e8d14a9e0ecbadf2dee1a41d6c.tar.gz
Merge pull request #723 from rthalley/httpx_if_possible
For DoH, use httpx and with HTTP/2 if we can
Diffstat (limited to 'doc')
-rw-r--r--doc/async-query.rst12
-rw-r--r--doc/whatsnew.rst2
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/async-query.rst b/doc/async-query.rst
index 7202bdf..dc22692 100644
--- a/doc/async-query.rst
+++ b/doc/async-query.rst
@@ -9,8 +9,10 @@ processing their responses. If you want "stub resolver" behavior, then
you should use the higher level ``dns.asyncresolver`` module; see
:ref:`async_resolver`.
-There is currently no support for DNS-over-HTTPS using asynchronous
-I/O but we hope to offer this in the future.
+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
---
@@ -32,6 +34,12 @@ TLS
.. autofunction:: dns.asyncquery.tls
+HTTPS
+-----
+
+.. autofunction:: dns.asyncquery.https
+
+
Zone Transfers
--------------
diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst
index 32e34d9..f4c6e93 100644
--- a/doc/whatsnew.rst
+++ b/doc/whatsnew.rst
@@ -15,6 +15,8 @@ What's New in dnspython
an error trace like the NoNameservers exception. This class is a subclass of
dns.exception.Timeout for backwards compatibility.
+* DNS-over-HTTPS is now supported for asynchronous queries and resolutions.
+
2.1.0
----------------------