summaryrefslogtreecommitdiff
path: root/dns
Commit message (Collapse)AuthorAgeFilesLines
* add resolve_address() helper at module levelresrefactorBob Halley2020-05-192-0/+20
|
* add basic typo info for trio modulesBob Halley2020-05-192-0/+56
|
* lintingBob Halley2020-05-193-1/+15
|
* refactor resolver, extracting all business logicBob Halley2020-05-182-335/+232
|
* add is_address()Bob Halley2020-05-181-0/+19
|
* prevent async resolver infinite attempts if caller does not use a timeout scopeBob Halley2020-05-171-0/+9
|
* indentation lintBob Halley2020-05-161-1/+1
|
* async resolver and lintingBob Halley2020-05-163-2/+358
|
* Start trio async support.Bob Halley2020-05-162-0/+287
|
* Improve consistency in DNSSEC code.Brian Wellington2020-05-151-11/+35
| | | | | | The make_ds method took its algorithm as a string, and the nsec3_hash method took an algorithm as an int. Change both of them to accept either, and add enums for both sets of algorithms.
* remove unused io importBob Halley2020-05-151-1/+0
|
* Merge pull request #470 from bwelling/optimize-nameBob Halley2020-05-151-13/+19
|\ | | | | Optimize name.to_digestable() and to_wire().
| * Optimize name.to_digestable() and to_wire().Brian Wellington2020-05-151-13/+19
| |
* | flake8 lintingBob Halley2020-05-1517-75/+80
|/
* fix type specification for resolve()Bob Halley2020-05-151-2/+3
|
* Allow resolver-level control over the defaulting of search (default False).Bob Halley2020-05-151-30/+18
|
* Add resolver resolve(), deprecate query().Bob Halley2020-05-153-42/+107
|
* Update the default TSIG algorithm to hmac-sha256.Brian Wellington2020-05-111-1/+1
| | | | | In the upcoming update to RFC 2845, HMAC-MD5 will move to "MUST NOT" use, so it shouldn't be the default.
* Improve nsec3_hash() docs.Brian Wellington2020-05-111-3/+3
|
* Improve validate() docs.Brian Wellington2020-05-111-2/+2
|
* fix quoting, again!Bob Halley2020-05-111-1/+1
|
* fix quotingBob Halley2020-05-111-4/+4
|
* Document validate() and validate_rrsig().Bob Halley2020-05-111-54/+53
| | | | | Remove origin parameter to key_id(). validate() should catch UnimplementedAlgorithm.
* Fix the dns.message.BadEDNS documentation.Brian Wellington2020-05-111-1/+1
| | | | | The OPT record isn't required to be at the start of the additional section, and the code doesn't enforce that.
* Fix nsec3_hash() when passed a dns.name.Name.Brian Wellington2020-05-111-2/+2
| | | | | The documentation claims that it supports this, but the code was incorrect.
* Fix nsec3_hash() with salt==None.Brian Wellington2020-05-111-1/+3
| | | | | The documentation claims that it supports salt==None, but it caused a TypeError.
* Fix documentation formatting.Brian Wellington2020-05-111-4/+4
|
* Fix documentation cut and paste error.Brian Wellington2020-05-111-2/+2
|
* Fix documentation typos.Brian Wellington2020-05-112-2/+2
|
* fix some leftover doco issuesBob Halley2020-05-116-19/+19
|
* add info about compression assumptions in dns.name.Name.to_wire()Bob Halley2020-05-101-1/+4
|
* Reharmonize doc style as I think it looks betterBob Halley2020-05-103-47/+49
|
* fix doco nitsBob Halley2020-05-101-6/+6
|
* checkpoint rdata subclass doc, finally doneBob Halley2020-05-0922-201/+40
|
* checkpoint more rdata subclasses docoBob Halley2020-05-095-48/+12
|
* checkpoint rdata subclasses docoBob Halley2020-05-098-62/+12
|
* more documentationBob Halley2020-05-095-246/+365
|
* add idna_codec doco to from_text_list()Bob Halley2020-05-081-0/+4
|
* in doco, text->str, binary->bytesBob Halley2020-05-0817-80/+80
|
* remove send_https() as the send/receive split is too hard for HTTPS and it ↵Bob Halley2020-05-081-17/+1
| | | | is not adding anything over https()
* Document dns.message.from_text() blank line behavior [Issue #354].Bob Halley2020-05-071-0/+6
|
* Fix [Issue #416], EAI_SYSTEM not defined on Windows.Bob Halley2020-05-041-2/+10
|
* Grealy simplify our getaddrinfo() implementation by calling theBob Halley2020-05-041-48/+41
| | | | | | system's version when we have an address literal for the host. This also avoids infinite loops as dns.query.* needs to call getaddrinfo() to handle scoping correctly.
* Do not lose scope info. [Issue #283]Bob Halley2020-05-041-2/+5
|
* Ignore scopes in dns.inet.*Bob Halley2020-05-041-3/+3
|
* In cases where we care that something is just an IPv4 or IPv6 address,Bob Halley2020-05-044-22/+20
| | | | | | without any extras like IPv6 scope, explicitly use dns.ipv4 and dns.ipv6 instead of dns.inet. This will let us be tolerant of scopes in other cases (e.g. ordinary network connections).
* Add an ignore_scope option to dns.ipv6.inet_aton().Bob Halley2020-05-041-1/+12
|
* IDNA support for zones, messages, names in rdata, rrsets, and rdatasets.Bob Halley2020-05-037-20/+41
|
* add IDNA codec parameter to dns.rdata.from_text() type signature.Bob Halley2020-05-031-2/+4
|
* Add IDNA codec support to tokenizer and dns.rdata.from_text()Bob Halley2020-05-032-4/+22
|