diff options
| author | Brian Wellington <bwelling@xbill.org> | 2020-05-11 12:34:42 -0700 |
|---|---|---|
| committer | Brian Wellington <bwelling@xbill.org> | 2020-05-11 12:34:42 -0700 |
| commit | 60f53c5905ca0337f09dc998932c5b95bfc8f2b1 (patch) | |
| tree | 9eabef644c1b6946803da6e6a8b7494c8dcc5e43 /doc | |
| parent | 689473dd8402acf9fafaf3e4687ec343ad1647fc (diff) | |
| download | dnspython-60f53c5905ca0337f09dc998932c5b95bfc8f2b1.tar.gz | |
Resolver docs fixes.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/resolver-class.rst | 7 |
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". |
