diff options
| author | Bob Halley <halley@dnspython.org> | 2020-05-15 11:38:03 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-05-15 11:38:03 -0700 |
| commit | 11e0df7f8e16258b9b7cfc8020514ffca0b50519 (patch) | |
| tree | 830546a2137f8e109045faf43d991fc85323bea0 /doc | |
| parent | 997e913cd19553413a7545c7568f2917c0e396c2 (diff) | |
| download | dnspython-11e0df7f8e16258b9b7cfc8020514ffca0b50519.tar.gz | |
Allow resolver-level control over the defaulting of search (default False).
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/resolver-class.rst | 7 |
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 |
