| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change ChainingResult "rrset" to "answer"; fix typo.resolve_chaining | Bob Halley | 2020-12-21 | 1 | -2/+2 |
| | | |||||
| * | resolve_chaining() now returns a ChainingResult object. | Bob Halley | 2020-12-21 | 1 | -2/+6 |
| | | |||||
| * | Separate common resolver functionality into a BaseResolver class. | Bob Halley | 2020-08-27 | 1 | -62/+67 |
| | | |||||
| * | pylint linting | Bob Halley | 2020-07-31 | 1 | -12/+23 |
| | | |||||
| * | Apply the resolver search list, domain, and ndots settings in the same way | Bob Halley | 2020-07-27 | 1 | -8/+34 |
| | | | | | that the BIND stub resolver library does. | ||||
| * | more resolver override testing | Bob Halley | 2020-07-26 | 1 | -2/+1 |
| | | |||||
| * | Adjust no cover pragmas to better reflect what the Azure pipeline hits/misses. | Bob Halley | 2020-07-22 | 1 | -10/+10 |
| | | |||||
| * | Make resolver use_edns() conform to its docstring; slightly improve ↵ | Bob Halley | 2020-07-22 | 1 | -1/+3 |
| | | | | | use_edns() logic. | ||||
| * | unify chaining code | Bob Halley | 2020-07-21 | 1 | -63/+27 |
| | | |||||
| * | Set EDNS default payload to 1232. | Bob Halley | 2020-07-20 | 1 | -1/+2 |
| | | |||||
| * | Fix resolver EDNS0 payload size when EDNS0 enabled by resolv.conf. | Bob Halley | 2020-07-20 | 1 | -2/+2 |
| | | | | | [Issue #546] | ||||
| * | Remove unneeded str conversion; fix comment typo. | Bob Halley | 2020-07-20 | 1 | -3/+4 |
| | | |||||
| * | Add canonical_name() method to resolver. | Bob Halley | 2020-07-20 | 1 | -0/+33 |
| | | |||||
| * | rename statistics class; add documentationcache_stats | Bob Halley | 2020-07-19 | 1 | -3/+3 |
| | | |||||
| * | cache statistics | Bob Halley | 2020-07-19 | 1 | -4/+67 |
| | | |||||
| * | Remove unneeded to_text/from_text in NXDOMAIN.canonical_name. | Bob Halley | 2020-07-18 | 1 | -2/+2 |
| | | |||||
| * | In gethostbyaddr(), remove unneeded workarounds for getfqdn(). | Bob Halley | 2020-07-06 | 1 | -7/+7 |
| | | |||||
| * | Fix incompatibility in getfqdn() revealed by dnspython web site change. | Bob Halley | 2020-07-06 | 1 | -2/+5 |
| | | |||||
| * | Add dns.tsig.Key class. | Brian Wellington | 2020-07-01 | 1 | -19/+4 |
| | | | | | | | | | | | | | | | | | | | | | This creates a new class to represent a TSIG key, containing name, secret, and algorithm. The keyring format is changed to be {name : key}, and the methods in dns.tsigkeyring are updated to deal with old and new formats. The Message class is updated to use dns.tsig.Key, although (to avoid breaking existing code), it stores them in the keyring field. Message.use_tsig() can accept either explicit keys, or keyrings; it will extract and/or create a key. dns.message.from_wire() can accept either a key or a keyring in the keyring parameter. If passed a key, it will now raise if the TSIG record in the message was signed with a different key. If passed a keyring containing keys (as opposed to bare secrets), it will check that the TSIG record's algorithm matches that of the key. | ||||
| * | increase resolver coverage | Bob Halley | 2020-07-01 | 1 | -2/+2 |
| | | |||||
| * | add back no cover for things we cannot cover on windows without mocking | Bob Halley | 2020-07-01 | 1 | -8/+8 |
| | | |||||
| * | expose windows resolver code to coverage testing | Bob Halley | 2020-07-01 | 1 | -11/+11 |
| | | |||||
| * | remove ancient windows support | Bob Halley | 2020-07-01 | 1 | -45/+25 |
| | | |||||
| * | improve resolver coverage | Bob Halley | 2020-06-20 | 1 | -6/+6 |
| | | |||||
| * | Construct socket.gaierror with an errno and a string, as doing just the | Bob Halley | 2020-06-18 | 1 | -9/+26 |
| | | | | | | | | errno doesn't cause the errno field in the exception to be set, and thus our exceptions were different and less useful than the stock ones. Adjust gethostbyaddr() to filter addresses like the system one does. | ||||
| * | Treat OSErrors during resolution as permanent failures, in line with other | Bob Halley | 2020-06-17 | 1 | -3/+3 |
| | | | | | | | stub resolvers. Reduce default lifetime from 30 seconds to 5 seconds. | ||||
| * | Improve resolver coverage by: | Bob Halley | 2020-06-16 | 1 | -16/+11 |
| | | | | | | | | | | Testing more stuff. Ignoring coverage of Windows as we have no way to integrate coverage data from windows test runs at this time. Ignoring other not important things. | ||||
| * | Take nameservers that are not IPv4/v6 addresses or https URLs out of the | Bob Halley | 2020-06-16 | 1 | -5/+4 |
| | | | | | | | mix. This also fixes the UnboundLocalError from [Issue #509]. | ||||
| * | Remove more unneeded backwards compat, _winreg -> winreg | Bob Halley | 2020-06-05 | 1 | -30/+27 |
| | | |||||
| * | Minor Python 3 cleanups. | Brian Wellington | 2020-06-03 | 1 | -11/+10 |
| | | | | | | | | Classes inherit from object by default; there's no need to explicitly include this. Replace super(Foo, self) with super(). | ||||
| * | the prior fix for exception handling was still not right, missing a continue | Bob Halley | 2020-05-29 | 1 | -0/+1 |
| | | |||||
| * | Fix resolve() NoAnswer problems from [Issue #488] | Bob Halley | 2020-05-28 | 1 | -4/+12 |
| | | |||||
| * | further tighten resolve() default settings | Bob Halley | 2020-05-27 | 1 | -6/+8 |
| | | |||||
| * | fix None pointers in LRU cache sentinel | Bob Halley | 2020-05-23 | 1 | -2/+3 |
| | | |||||
| * | revision of truncation handling | Bob Halley | 2020-05-22 | 1 | -1/+2 |
| | | |||||
| * | add NXDOMAIN caching | Bob Halley | 2020-05-21 | 1 | -43/+60 |
| | | |||||
| * | pop() with no arguements means last, but I used it intending first | Bob Halley | 2020-05-21 | 1 | -2/+2 |
| | | |||||
| * | Remove dns.rdata{type,class}.to_enum. | Brian Wellington | 2020-05-21 | 1 | -2/+2 |
| | | | | | | | | These methods (which convert a str/int into an enum/int) shouldn't be commonly used by external code, so don't need to exist at the module level. The make() method on the enum class (renamed from to_enum()) can still be used, and the internal callers have been updated to use it. | ||||
| * | move raise_on_no_error out of Answer | Bob Halley | 2020-05-19 | 1 | -10/+6 |
| | | |||||
| * | add missing backoff to next_nameserver() retry_with_tcp case | Bob Halley | 2020-05-19 | 1 | -1/+1 |
| | | |||||
| * | use to_enum() | Bob Halley | 2020-05-19 | 1 | -4/+2 |
| | | |||||
| * | It is self.resolver.retry_servfail, not self.retry_servfail; where were you ↵ | Bob Halley | 2020-05-19 | 1 | -1/+1 |
| | | | | | linters? | ||||
| * | add resolve_address() helper at module levelresrefactor | Bob Halley | 2020-05-19 | 1 | -0/+10 |
| | | |||||
| * | linting | Bob Halley | 2020-05-19 | 1 | -0/+12 |
| | | |||||
| * | refactor resolver, extracting all business logic | Bob Halley | 2020-05-18 | 1 | -166/+197 |
| | | |||||
| * | flake8 linting | Bob Halley | 2020-05-15 | 1 | -17/+20 |
| | | |||||
| * | Allow resolver-level control over the defaulting of search (default False). | Bob Halley | 2020-05-15 | 1 | -30/+18 |
| | | |||||
| * | Add resolver resolve(), deprecate query(). | Bob Halley | 2020-05-15 | 1 | -34/+81 |
| | | |||||
| * | Reharmonize doc style as I think it looks better | Bob Halley | 2020-05-10 | 1 | -2/+4 |
| | | |||||
| * | in doco, text->str, binary->bytes | Bob Halley | 2020-05-08 | 1 | -7/+7 |
| | | |||||
