summaryrefslogtreecommitdiff
path: root/dns
Commit message (Collapse)AuthorAgeFilesLines
* txn checkpointtransactionBob Halley2020-08-1011-418/+1508
|
* Simplify $GENERATE range code, add some error checks, and increase test ↵Bob Halley2020-08-081-12/+12
| | | | coverage.
* lintBob Halley2020-08-081-3/+2
|
* Merge pull request #530 from nrhall/nrhall-gss-tsig-changesBob Halley2020-08-086-26/+245
|\ | | | | Add support for gss-tsig and TKEY records to support GSSAPI authentication
| * Support callable() TSIG keyrings for use-cases like GSSTSig.Nick Hall2020-08-082-3/+41
| |
| * Add a lightweight wrapper around the HMAC types and refactor the "is gss-api ↵Nick Hall2020-08-083-49/+53
| | | | | | | | or not" wrapper functions to just call the class methods
| * Add gss-tsig support to dnspythonNick Hall2020-08-082-7/+66
| |
| * Add support for TKEY RR typeNick Hall2020-08-082-0/+118
| |
* | The from_text_list() methods for Rdataset and RRset should allow theBob Halley2020-08-082-4/+24
| | | | | | | | | | | | | | | | | | | | | | full set of parameters that rdata's from_text() allows (i.e. origin, relativize, and relativize_to). These parameters were added though the order is slightly different from dns.rdata.to_text() as in the the rdata version idna_codec is after origin, relativize, and relativize_to. We already had an idna_codec for the Rdataset and RRset functions, so we added after it to keep backwards compatibility.
* | LOC _exponent_of does not need to do division.Bob Halley2020-08-081-5/+1
| |
* | Make SVCB and HTTPS immutable.Bob Halley2020-08-081-17/+28
| |
* | Add immutable module.Bob Halley2020-08-082-15/+66
| |
* | SVCB and HTTPS supportBob Halley2020-08-076-2/+543
|/
* lintBob Halley2020-08-047-4/+16
|
* LOC with version not 0 is a FORMERRBob Halley2020-08-041-0/+2
|
* Merge pull request #562 from nrhall/nrhall-message-patchBob Halley2020-08-041-1/+4
|\ | | | | Expose set_rcode
| * expose set_rcode in MessageNick Hall2020-07-311-1/+4
| |
* | fix case of enum namesconstants2Bob Halley2020-08-0310-22/+22
| |
* | remove globals() enum updatingBob Halley2020-08-0310-20/+0
| |
* | add constantsBob Halley2020-08-0310-0/+209
| |
* | pylint lintingBob Halley2020-07-3115-48/+91
|/
* the abstract wire parse method for Rdata is now from_wire_parser()Bob Halley2020-07-311-1/+1
|
* When validating a signature, derelativize before doing any label computations.Bob Halley2020-07-281-2/+7
| | | | | | Raise an error if the number of labels in the signature is longer than the number of labels in the owner name. (This is just to give a better error as the validation would fail anyway.)
* Raise NoPreviousName if a text message tries to refer to a previous name but ↵Bob Halley2020-07-281-0/+9
| | | | there is none.
* Return the message in question_only mode. [#556]Bob Halley2020-07-281-1/+1
|
* Merge pull request #553 from rthalley/wrapBob Halley2020-07-282-25/+40
|\ | | | | Wrap exceptions from rdata from_text() and from_wire().
| * Wrap exceptions from rdata from_text() and from_wire().wrapBob Halley2020-07-262-25/+40
| |
* | Apply the resolver search list, domain, and ndots settings in the same wayBob Halley2020-07-271-8/+34
| | | | | | | | that the BIND stub resolver library does.
* | Add missing lifetime parameter to dns.asyncresolver.resolve() [#555]Bob Halley2020-07-271-2/+3
|/
* increase TXT coverageBob Halley2020-07-261-1/+4
|
* remove test that can never be trueBob Halley2020-07-261-2/+0
|
* more resolver override testingBob Halley2020-07-261-2/+1
|
* exclude unpractical-to-test AttributeErrorBob Halley2020-07-261-1/+1
|
* increase EDNS coverageBob Halley2020-07-261-2/+2
|
* Remove checks already done by dns.dnssec.algorithm_from_text().Bob Halley2020-07-251-2/+0
|
* even on errors where we tolerate no question, check question if presentBob Halley2020-07-251-3/+5
|
* to_text() always returns a str, so no need to check if it is not a strBob Halley2020-07-241-5/+1
|
* ignore coverage on abstract methodsBob Halley2020-07-241-4/+4
|
* Allow an escaped newline in a quoted string.Bob Halley2020-07-231-1/+1
|
* more tokenizer coverage improvementsBob Halley2020-07-231-2/+2
|
* Add no cover for abstract method.Bob Halley2020-07-231-1/+1
|
* Improve name coverage slightly by testing the uts_46 branch in 2008 decode.Bob Halley2020-07-231-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 Halley2020-07-221-10/+10
|
* Make resolver use_edns() conform to its docstring; slightly improve ↵Bob Halley2020-07-222-2/+4
| | | | use_edns() logic.
* Use min() for min_ttl computations.Bob Halley2020-07-211-8/+3
|
* fix exception docstringsBob Halley2020-07-211-10/+13
|
* set min ttl to max_ttl instead of special case -1Bob Halley2020-07-212-5/+7
|
* unify chaining codeBob Halley2020-07-212-66/+134
|
* Set EDNS default payload to 1232.Bob Halley2020-07-202-4/+6
|
* Fix resolver EDNS0 payload size when EDNS0 enabled by resolv.conf.Bob Halley2020-07-201-2/+2
| | | | [Issue #546]