summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-05-11 12:34:42 -0700
committerBrian Wellington <bwelling@xbill.org>2020-05-11 12:34:42 -0700
commit60f53c5905ca0337f09dc998932c5b95bfc8f2b1 (patch)
tree9eabef644c1b6946803da6e6a8b7494c8dcc5e43 /doc
parent689473dd8402acf9fafaf3e4687ec343ad1647fc (diff)
downloaddnspython-60f53c5905ca0337f09dc998932c5b95bfc8f2b1.tar.gz
Resolver docs fixes.
Diffstat (limited to 'doc')
-rw-r--r--doc/resolver-class.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/resolver-class.rst b/doc/resolver-class.rst
index d0159a5..58ab332 100644
--- a/doc/resolver-class.rst
+++ b/doc/resolver-class.rst
@@ -43,7 +43,7 @@ The dns.resolver.Resolver and dns.resolver.Answer Classes
answer to the question. If the lifetime expires a
``dns.exception.Timeout`` exception will be raised.
- .. attribute:: cache:
+ .. attribute:: cache
An object implementing the caching protocol, e.g. a
``dns.resolver.Cache`` or a ``dns.resolver.LRUCache``. The default
@@ -72,7 +72,10 @@ The dns.resolver.Resolver and dns.resolver.Answer Classes
.. attribute:: keyalgorithm
A ``dns.name.Name`` or ``str``, the TSIG algorithm to use.
- *edns*, an ``int``, is the EDNS level to use. Specifying
+
+ .. attribute:: edns
+
+ An ``int``, the EDNS level to use. Specifying
``None``, ``False``, or ``-1`` means "do not use EDNS", and in
this case the other parameters are ignored. Specifying
``True`` is equivalent to specifying 0, i.e. "use EDNS0".