summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-05-15 11:38:03 -0700
committerBob Halley <halley@dnspython.org>2020-05-15 11:38:03 -0700
commit11e0df7f8e16258b9b7cfc8020514ffca0b50519 (patch)
tree830546a2137f8e109045faf43d991fc85323bea0 /doc
parent997e913cd19553413a7545c7568f2917c0e396c2 (diff)
downloaddnspython-11e0df7f8e16258b9b7cfc8020514ffca0b50519.tar.gz
Allow resolver-level control over the defaulting of search (default False).
Diffstat (limited to 'doc')
-rw-r--r--doc/resolver-class.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/resolver-class.rst b/doc/resolver-class.rst
index 58ab332..99cf70e 100644
--- a/doc/resolver-class.rst
+++ b/doc/resolver-class.rst
@@ -20,6 +20,13 @@ The dns.resolver.Resolver and dns.resolver.Answer Classes
relative name, the resolver will construct absolute query names
to try by appending values from the search list.
+ .. attribute:: use_search_by_default
+
+ A ``bool``, specifes whether or not ``resolve()`` uses the
+ search list configured in the system's resolver configuration
+ when the ``search`` parameter to ``resolve()`` is ``None``. The
+ default is ``False``.
+
.. attribute:: port
An ``int``, the default DNS port to send to if not overriden by