summaryrefslogtreecommitdiff
path: root/dns
Commit message (Collapse)AuthorAgeFilesLines
* Simplify; add a MessageError class.continue_on_errorBob Halley2021-10-241-47/+48
|
* change error format to have current instead of last goodBob Halley2021-10-231-10/+9
|
* draft continue_on_errorBob Halley2021-10-231-62/+103
|
* Merge pull request #703 from rthalley/cmp_fixBob Halley2021-10-203-15/+76
|\ | | | | Fix #698 and #702, problems caused by _cmp() giving the wrong result in some cases
| * _cmp() raised NoRelativeRdataOrdering in abs vs. abs casecmp_fixBob Halley2021-10-141-3/+5
| |
| * Allow relative rdata comparisons for now, but disallow in the future.Bob Halley2021-10-141-2/+36
| |
| * fix ordering issue with relative rdatasBob Halley2021-10-141-4/+4
| |
| * fix accidental reversion of message.py typo fixBob Halley2021-10-111-1/+2
| |
| * Fix #698 and #702, problems caused by _cmp() giving the wrongBob Halley2021-10-113-11/+35
| | | | | | | | | | result in certain comparisons of rdata with relative and absolute names.
* | Allow digest type 0 for CDSPeter Thomassen2021-10-202-13/+16
| |
* | Add id to dns.message.make_query().Brian Wellington2021-10-141-2/+6
| | | | | | | | Allow the caller to supply a message id when building a query.
* | Improve dns.message.make_query() docs.Brian Wellington2021-10-131-1/+3
| | | | | | | | | | | | | | Update the docs to match the code. Specifically, the docs implied that EDNS was only enabled if use_edns was set, while the code would enable EDNS if any parameter that required EDNS was set and use_edns was not set.
* | Moved "connected" to better spotPaul Hoffman2021-10-131-2/+2
| |
* | Removed the "connected" from UDP sockets (thank you Brian!)Paul Hoffman2021-10-131-2/+2
| |
* | Added "connected" to references to socket.socket.Paul Hoffman2021-10-131-4/+4
|/
* fix typo and improve dns.message.Message.is_response() doc stringBob Halley2021-10-101-1/+2
|
* change the RFC cite for CERTBob Halley2021-09-211-1/+1
|
* Add new certificate types in CERT recordKiran Pawar2021-09-211-0/+10
| | | | | Consider new certificate types as defined in https://datatracker.ietf.org/doc/html/rfc4398
* Correct a typo in dns/asyncbackend.pyFelix Yan2021-08-171-1/+1
|
* Add support for RFC 6742 types.Brian Wellington2021-07-138-11/+208
| | | | This adds the NID, L32, L64, and LP types.
* If a negative response has an SOA in the authority section, thenBob Halley2021-07-111-5/+46
| | | | | | | zone_for_name() will now use it to make the search more efficient. zone_for_name() now has an optional lifetime parameter which limits the total time that can be spent resolving.
* avoid compatibility warnings for python 3.12Bob Halley2021-07-102-4/+4
|
* The APLItem constructor should make sure that the address fieldBob Halley2021-07-051-1/+1
| | | | is not too long for unknown address families. [#672]
* Add want_origin parameter to zone to_text() and to_file().Bob Halley2021-06-131-3/+22
| | | | [Issue #654]
* Remove debugging prints from xfr code.Bob Halley2021-05-231-3/+0
|
* Another try at not hardwiring class IN in dns.xfr.make_query()Bob Halley2021-05-201-4/+4
|
* Eliminate the need for a serial parameter to inbound_xfr()Bob Halley2021-05-183-3/+25
|
* Fix two problems with dns.xfr.make_query():Bob Halley2021-05-181-2/+4
| | | | | | | | 1) We always used class IN instead of using the class of the txn manager. 2) We directly appended to the authority section instead of using find_rrset(), which meant that our changes were not indexed and would break if other code tried to use find_rrset() to find what we added.
* Added serial to inbound_xfr argumentsHidde van der Heide2021-05-182-2/+2
|
* Prevent import failure when /etc/protocols is unavailable.Marius Bakke2021-05-061-3/+7
| | | | | | | Fixes #662. * dns/rdtypes/IN/WKS.py: Wrap TCP and UDP protocol lookups in try...except.
* Lint passBob Halley2021-05-028-10/+10
|
* Return error trace in LifetimeTimeoutBob Halley2021-04-242-15/+38
|
* Add entries to the resolution errors list in a few error cases that were ↵Bob Halley2021-04-231-2/+6
| | | | omitted.
* Update SVCB to the current spec.Brian Wellington2021-04-211-33/+44
|
* Fix repr() of GSS-TSIG key [Issue #657]Bob Halley2021-04-171-3/+6
|
* Fix AMTRELAY type code.Brian Wellington2021-03-161-1/+1
|
* Add missing dns.rdtypes.util imports [Issue #648].processing_order_fixBob Halley2021-03-095-0/+5
|
* Merge pull request #645 from rthalley/windows_asyncio_fixBob Halley2021-02-263-2/+22
|\ | | | | asyncio on Windows requries connected sockets. [Issue #637]
| * asyncio on Windows requries connected sockets. [Issue #637]windows_asyncio_fixBob Halley2021-02-253-2/+22
| |
* | Add custome exceptions.Brian Wellington2021-02-251-4/+24
| |
* | Add more tests.Brian Wellington2021-02-251-1/+10
| | | | | | | | zone.compute_digest() didn't actually work. It does now.
* | Checkpoint ZONEMD support.Brian Wellington2021-02-244-0/+146
|/
* Merge pull request #634 from bwelling/refactor-dnssecBob Halley2021-02-181-152/+141
|\ | | | | DNSSEC refactoring.
| * DNSSEC refactoring.Brian Wellington2021-02-121-152/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | Reorders some of the operations related to RRSIG validation. The net effects here are that the code performs all of the parts of validation that are not specific to the keys first before the parts that are specific to keys (and need to be repeated for each key). This also fixes the inconsistency that if there are multiple keys that match an RRSIG, a single malformed key would lead to an exception, but a signle failed signature validation would not. In both cases, an exception should only be raised if no keys successfully validate the RRSIG.
* | make `name in zone` consistent with `zone[name]`kimbo2021-02-161-2/+3
|/ | | | | specifically, allow name to be a str, and raise a KeyError if name cannot be converted into a dns.name.Name
* change fname to namekimbo2021-02-111-1/+1
|
* async StreamSockets were erronously subclassing the abstract DatagramSocketBob Halley2021-01-313-3/+3
|
* Abstract methods should raise NotImplementedError, not return NoneBob Halley2021-01-311-4/+10
| | | | | getpeername() and getsockname() are part of the abstract API but weren't defined.
* Ensure that DS digest length is consistent with digest typePeter Thomassen2021-01-181-0/+18
|
* Add missing items to rdtypes/ANY/__init__.pyBob Halley2021-01-131-0/+2
|