| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Wrap exceptions from rdata from_text() and from_wire().wrap | Bob Halley | 2020-07-26 | 2 | -25/+40 |
| | | |||||
| * | increase TXT coverage | Bob Halley | 2020-07-26 | 1 | -1/+4 |
| | | |||||
| * | remove test that can never be true | Bob Halley | 2020-07-26 | 1 | -2/+0 |
| | | |||||
| * | more resolver override testing | Bob Halley | 2020-07-26 | 1 | -2/+1 |
| | | |||||
| * | exclude unpractical-to-test AttributeError | Bob Halley | 2020-07-26 | 1 | -1/+1 |
| | | |||||
| * | increase EDNS coverage | Bob Halley | 2020-07-26 | 1 | -2/+2 |
| | | |||||
| * | Remove checks already done by dns.dnssec.algorithm_from_text(). | Bob Halley | 2020-07-25 | 1 | -2/+0 |
| | | |||||
| * | even on errors where we tolerate no question, check question if present | Bob Halley | 2020-07-25 | 1 | -3/+5 |
| | | |||||
| * | to_text() always returns a str, so no need to check if it is not a str | Bob Halley | 2020-07-24 | 1 | -5/+1 |
| | | |||||
| * | ignore coverage on abstract methods | Bob Halley | 2020-07-24 | 1 | -4/+4 |
| | | |||||
| * | Allow an escaped newline in a quoted string. | Bob Halley | 2020-07-23 | 1 | -1/+1 |
| | | |||||
| * | more tokenizer coverage improvements | Bob Halley | 2020-07-23 | 1 | -2/+2 |
| | | |||||
| * | Add no cover for abstract method. | Bob Halley | 2020-07-23 | 1 | -1/+1 |
| | | |||||
| * | Improve name coverage slightly by testing the uts_46 branch in 2008 decode. | Bob Halley | 2020-07-23 | 1 | -2/+3 |
| | | | | | | | I'm not sure how useful in practice this is, as we don't offer a codec configuration default for it, but I'm not sure you'd never do it, and the existing code was in the wrong order. | ||||
| * | 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 | 2 | -2/+4 |
| | | | | | use_edns() logic. | ||||
| * | Use min() for min_ttl computations. | Bob Halley | 2020-07-21 | 1 | -8/+3 |
| | | |||||
| * | fix exception docstrings | Bob Halley | 2020-07-21 | 1 | -10/+13 |
| | | |||||
| * | set min ttl to max_ttl instead of special case -1 | Bob Halley | 2020-07-21 | 2 | -5/+7 |
| | | |||||
| * | unify chaining code | Bob Halley | 2020-07-21 | 2 | -66/+134 |
| | | |||||
| * | Set EDNS default payload to 1232. | Bob Halley | 2020-07-20 | 2 | -4/+6 |
| | | |||||
| * | Fix resolver EDNS0 payload size when EDNS0 enabled by resolv.conf. | Bob Halley | 2020-07-20 | 1 | -2/+2 |
| | | | | | [Issue #546] | ||||
| * | a way of doing commentscomments | Bob Halley | 2020-07-20 | 28 | -84/+103 |
| | | |||||
| * | Add canonical_name() to async resolver too. | Bob Halley | 2020-07-20 | 1 | -0/+30 |
| | | |||||
| * | 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 |
| | | |||||
| * | Merge pull request #544 from rthalley/cache_stats | Bob Halley | 2020-07-20 | 1 | -4/+67 |
| |\ | | | | | Cache statistics | ||||
| | * | rename statistics class; add documentationcache_stats | Bob Halley | 2020-07-19 | 1 | -3/+3 |
| | | | |||||
| | * | cache statistics | Bob Halley | 2020-07-19 | 1 | -4/+67 |
| | | | |||||
| * | | lint | Bob Halley | 2020-07-19 | 1 | -1/+1 |
| |/ | |||||
| * | Remove unneeded to_text/from_text in NXDOMAIN.canonical_name. | Bob Halley | 2020-07-18 | 1 | -2/+2 |
| | | |||||
| * | Add dns.edns.register_type(). | Brian Wellington | 2020-07-17 | 1 | -0/+10 |
| | | | | | This allows an application to register a custom EDNS option type. | ||||
| * | Disable coverage for BlockingIOError on udp send. | Brian Wellington | 2020-07-17 | 1 | -1/+1 |
| | | |||||
| * | Changes to blocking model. | Brian Wellington | 2020-07-17 | 1 | -27/+40 |
| | | | | | | | | | | | | | | Before this change, the synchronous code would check sockets for readability or writability before doing nonblocking read or write. This changes them to attempt the read or write first, and then block if the operation could not complete. This also removes the no-longer-needed getpeername() call in tcp(), which was needed to deal with the case where an unconnected socket was passed in; waiting for writability would block rather than immediately return an error. By attempting the write first, we get the error immediately. | ||||
| * | Use the selectors module. | Brian Wellington | 2020-07-17 | 1 | -71/+26 |
| | | | | | | | Previously, there was code to either use select.select or select.poll, depending on OS. This changes it to use the selectors module, using either SelectSelector or PollSelector, but sharing code otherwise. | ||||
| * | Minor cleanups to EDNS code. | Brian Wellington | 2020-07-17 | 1 | -18/+7 |
| | | | | | | | | When the Message object was changed to store an OPT record, the changes to use_edns() left a lot of cruft. Reduce some code duplication in make_query(). | ||||
| * | Merge pull request #536 from ngaya-ll/patch-1 | Bob Halley | 2020-07-17 | 1 | -9/+11 |
| |\ | | | | | Define additional return types in name.pyi | ||||
| | * | Define additional return types in name.pyi | Nick Gaya | 2020-07-16 | 1 | -9/+11 |
| | | | |||||
| * | | update version post-release | Bob Halley | 2020-07-17 | 1 | -3/+3 |
| | | | |||||
| * | | 2.0.0 versioningv2.0.0 | Bob Halley | 2020-07-16 | 1 | -2/+2 |
| |/ | |||||
| * | Fix _wordbreak() to always return a str. | Brian Wellington | 2020-07-09 | 1 | -5/+6 |
| | | |||||
| * | Generalize the word breaking code. | Brian Wellington | 2020-07-09 | 1 | -13/+14 |
| | | | | | | Refactor common code from _base64ify and _hexify, and also add support for _hexify to skip word breaks. | ||||
| * | Make dns.rdata._base64ify(..., 0) work. | Brian Wellington | 2020-07-09 | 2 | -2/+4 |
| | | | | | | | | | | | In some cases, the caller absolutely doesn't want word breaks. This shouldn't be the case for any normal DNS record, but is for records that don't have well-defined text formats, like TSIG and TKEY. Allow them to pass 0 (or None), to indicate that no word breaks should be added. Previously, passing either 0 or None resulted in an exception, as the value was used directly as the step in a slice. | ||||
| * | Add support for receiving UDP queries. | Brian Wellington | 2020-07-08 | 5 | -32/+69 |
| | | | | | | | | | | | | | | | The existing receive_udp() methods are only usable for receiving responses, as they require an expected destination and check that the message is from that destination. This change makes the expected destination (and hence the check) optional, and returns the address that the message was received from (in the sync case, this is only done if no destination is provided, for backwards compatibility). New tests are added, which required adding generic getsockname() support to the async backends. | ||||
| * | Fix return type docs for receive methods. | Brian Wellington | 2020-07-08 | 2 | -4/+8 |
| | | |||||
| * | Move __str__ to the generic Option code. | Brian Wellington | 2020-07-08 | 1 | -5/+3 |
| | | | | | | | ECSOption and GenericOption both contained a __str__ method that called to_text(), but the base Option class did not. Move __str__ to the base class. | ||||
| * | Merge pull request #531 from bwelling/tsig2 | Bob Halley | 2020-07-07 | 1 | -25/+43 |
| |\ | | | | | Split TSIG sign and validate. | ||||
| | * | Split TSIG sign and validate. | Brian Wellington | 2020-07-07 | 1 | -25/+43 |
| | | | |||||
| * | | Add DSOTYPENI rcode. | Bob Halley | 2020-07-07 | 1 | -0/+2 |
| | | | |||||
| * | | TSIG code now uses dns.rcode.Rcode enum values for the TSIG error field. | Bob Halley | 2020-07-07 | 2 | -15/+13 |
| | | | |||||
