summaryrefslogtreecommitdiff
path: root/dns
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add missing items to rdtypes/IN/__init__.pyPeter Thomassen2021-01-131-0/+2
|
* post 2.1.0 versioningBob Halley2021-01-071-2/+2
|
* Set 2.1.0 version.Bob Halley2021-01-071-2/+2
|
* Merge pull request #617 from peterthomassen/masterBob Halley2021-01-0511-13/+22
|\ | | | | Allow custom chunksizes in dns.rdata.to_text
| * Pass kw from dns.rdata.to_text to _hexify and _base64ifyPeter Thomassen2021-01-0511-13/+22
| |
* | use methods with appropriate rcode/opcode typecasting in Message.to_text()Bob Halley2021-01-041-4/+2
| |
* | Cast flags and ednsflags to int when calling dns.rcode.from_flags() andBob Halley2021-01-041-2/+2
| | | | | | | | | | dns.opcode.from_flags(). This avoids subsequent to_text issues and other type confusion if the values were allowed to remain IntFlags.
* | _WireReader.read() should make flags a dns.flags.Flag [Issue #606]Bob Halley2021-01-041-1/+1
| |
* | Add missing base classes to __init__.Bob Halley2021-01-041-0/+4
|/
* Change ChainingResult "rrset" to "answer"; fix typo.resolve_chainingBob Halley2020-12-212-12/+12
|
* resolve_chaining() now returns a ChainingResult object.Bob Halley2020-12-212-9/+36
|
* resolve_chaining() should not go into an infinite loop if the qtype isBob Halley2020-12-211-0/+3
| | | | CNAME and there is no answer [Issue #610].
* TSIG: don't relativize algorithm nameDaniel Salzman2020-11-251-1/+1
| | | | | | | | | | The domain name relativization of TSIG's algorithm name breaks TSIG validation when using with the Root zone. Example for algorithm hmac-sha224: zone 'example.com.' -> hmac-sha224. zone '.' -> hmac-sha224
* update versions for 2.1.0rc1Bob Halley2020-10-301-1/+1
|
* Add repr() for dns.tsig.Key.Brian Wellington2020-10-291-0/+5
|
* add comment on NSEC downcasing to avoid future confusionBob Halley2020-10-061-0/+2
|
* we should not canonicalize SVCB/HTTPS alias target either!Bob Halley2020-10-061-1/+1
|
* The alias target of an SVCB or HTTPS rdata must not be compressed.Bob Halley2020-10-061-1/+1
|
* Merge pull request #579 from rthalley/proc-orderBob Halley2020-09-099-0/+118
|\ | | | | Processing order
| * correct and simplify weighted_processing_order()Bob Halley2020-09-093-34/+17
| |
| * Simplify code.proc-orderBrian Wellington2020-09-081-8/+5
| |
| * deal with all zero weight URI caseBob Halley2020-09-021-0/+5
| |
| * processing order implementationBob Halley2020-09-029-0/+133
| |
* | fix rrset match signature problemsfull_matchBob Halley2020-09-032-8/+24
| |
* | add missing doco for override_rdclass parameterBob Halley2020-09-031-0/+3
|/
* _as_ttl was not returning the value if converting from a stringBob Halley2020-09-011-1/+1
|
* remove obsolete change indication code from WritableVersion deletion codeBob Halley2020-09-011-5/+0
|
* check for TTL type errors in rdataset/rrset from_text; allow text-form TTLs ↵Bob Halley2020-09-012-2/+11
| | | | there.
* Separate common resolver functionality into a BaseResolver class.Bob Halley2020-08-272-74/+69
|
* follow usual dnspython inheritance scheme for shared typesBob Halley2020-08-273-66/+77
|
* replace() can now rely on constructors to validateBob Halley2020-08-271-4/+0
|