| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | a way of doing commentscomments | Bob Halley | 2020-07-20 | 34 | -88/+189 |
| | | |||||
| * | Merge pull request #542 from rthalley/canonical_name | Bob Halley | 2020-07-20 | 6 | -0/+100 |
| |\ | | | | | Canonical name | ||||
| | * | Add canonical_name() to async resolver too. | Bob Halley | 2020-07-20 | 3 | -0/+51 |
| | | | |||||
| | * | Remove unneeded str conversion; fix comment typo. | Bob Halley | 2020-07-20 | 1 | -3/+4 |
| | | | |||||
| | * | better test style | Bob Halley | 2020-07-20 | 1 | -3/+3 |
| | | | |||||
| | * | Add canonical_name() method to resolver. | Bob Halley | 2020-07-20 | 3 | -0/+48 |
| |/ | |||||
| * | Merge pull request #544 from rthalley/cache_stats | Bob Halley | 2020-07-20 | 3 | -5/+110 |
| |\ | | | | | Cache statistics | ||||
| | * | rename statistics class; add documentationcache_stats | Bob Halley | 2020-07-19 | 2 | -4/+11 |
| | | | |||||
| | * | cache statistics | Bob Halley | 2020-07-19 | 2 | -4/+102 |
| | | | |||||
| * | | 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 |
| | | |||||
| * | Merge pull request #540 from bwelling/edns-option-registration | Bob Halley | 2020-07-17 | 3 | -0/+48 |
| |\ | | | | | Add dns.edns.register_type(). | ||||
| | * | Add documentation. | Brian Wellington | 2020-07-17 | 1 | -0/+1 |
| | | | |||||
| | * | Add dns.edns.register_type(). | Brian Wellington | 2020-07-17 | 2 | -0/+47 |
| |/ | | | | This allows an application to register a custom EDNS option type. | ||||
| * | Merge pull request #539 from bwelling/blocking | Bob Halley | 2020-07-17 | 1 | -27/+40 |
| |\ | | | | | Changes to blocking model. | ||||
| | * | 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. | ||||
| * | Merge pull request #538 from bwelling/selectors | Bob Halley | 2020-07-17 | 3 | -94/+35 |
| |\ | | | | | Use the selectors module. | ||||
| | * | Use the selectors module. | Brian Wellington | 2020-07-17 | 3 | -94/+35 |
| |/ | | | | | | 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. | ||||
| * | Merge pull request #537 from bwelling/edns-cleanup | Bob Halley | 2020-07-17 | 1 | -18/+7 |
| |\ | | | | | Minor cleanups to EDNS code. | ||||
| | * | 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 | 4 | -6/+6 |
| | | | |||||
| * | | 2.0.0 versioningv2.0.0 | Bob Halley | 2020-07-16 | 4 | -5/+5 |
| |/ | |||||
| * | Add DoH JSON example. | Bob Halley | 2020-07-13 | 1 | -0/+92 |
| | | |||||
| * | make executable | Bob Halley | 2020-07-10 | 2 | -0/+0 |
| | | |||||
| * | add ECS example | Bob Halley | 2020-07-10 | 1 | -0/+15 |
| | | |||||
| * | 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. | ||||
| * | Merge pull request #533 from bwelling/receive_queries | Bob Halley | 2020-07-08 | 7 | -32/+104 |
| |\ | | | | | Receive queries | ||||
| | * | Add coverage for TCP/TLS async getsockname. | Brian Wellington | 2020-07-08 | 1 | -0/+4 |
| | | | |||||
| | * | Add support for receiving UDP queries. | Brian Wellington | 2020-07-08 | 7 | -32/+100 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | apply patch codecov rules | Bob Halley | 2020-07-08 | 1 | -0/+4 |
| |/ | |||||
| * | Don't read resolv.conf in tests that don't use it. | Brian Wellington | 2020-07-08 | 4 | -9/+10 |
| | | |||||
| * | Fix return type docs for receive methods. | Brian Wellington | 2020-07-08 | 2 | -4/+8 |
| | | |||||
| * | Remove debugging print. | Brian Wellington | 2020-07-08 | 1 | -1/+0 |
| | | |||||
| * | 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 | 2 | -33/+53 |
| |\ | | | | | Split TSIG sign and validate. | ||||
| | * | Split TSIG sign and validate. | Brian Wellington | 2020-07-07 | 2 | -33/+53 |
| | | | |||||
| * | | 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 | 4 | -19/+34 |
| | | | |||||
| * | | Merge pull request #532 from HsiehYuho/extrcode | Bob Halley | 2020-07-07 | 1 | -0/+16 |
| |\ \ | | | | | | | Support more DNS rcode | ||||
| | * | | Support more DNS rcode | Yu-Ho Hsieh | 2020-07-07 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | More DNS rcodes are assigned. Support rcode assigned before RFC7873 https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6 | ||||
| * | | | Fix Message ednsflags propery setter. | Brian Wellington | 2020-07-07 | 1 | -1/+1 |
| |/ / | | | | | | | Setting ednsflags to 0 shouldn't unconditionally enable EDNS. | ||||
| * | | Fix Message.want_dnssec(). | Brian Wellington | 2020-07-07 | 2 | -1/+2 |
| |/ | | | | | It was incorrectly calling Message._make_opt() in the case where the message was not currently using EDNS. | ||||
| * | Remove too strong "no metaclasses" check in _parse_rr_header(). | Bob Halley | 2020-07-07 | 1 | -2/+0 |
| | | |||||
| * | Give up on socket.getfqdn() testing with CDN-hosted resources as it has too ↵ | Bob Halley | 2020-07-06 | 1 | -7/+16 |
| | | | | | much magic. | ||||
| * | In gethostbyaddr(), remove unneeded workarounds for getfqdn(). | Bob Halley | 2020-07-06 | 1 | -7/+7 |
| | | |||||
