summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Do no raise an assertion getting a nonexistent rdataset without a txn in a ↵2.2Bob Halley2022-03-121-0/+12
| | | | versioned zone.
* _validate_name now handles relative names in an absolute zone.Bob Halley2022-03-061-0/+14
|
* fix various typing issues (typos)Sebastian Wagner2022-01-294-5/+5
| | | | | | I stumbled over a few typos and then decided to fix 'em all (cherry picked from commit a593b38d892f6b5b2180086157d73bff181f1475)
* Require trailing field in rdata of TLSA and friendsPeter Thomassen2022-01-252-1/+5
| | | | (cherry picked from commit 4c70268984d865f8b0e93ca019518807af5fd344)
* Use the version's origin if the zone doesn't have one yet. [#766]Bob Halley2022-01-241-0/+7
| | | | (cherry picked from commit c07d11ea060bc4bb02ee8deadba8365bd5b8b99d)
* skip async DoH tests if no httpxv2.2.0rc1Bob Halley2021-12-211-1/+5
| | | | (cherry picked from commit ec5bee76861f3da38dd6b72f01c28ea888a346c8)
* Allow unknown digest types [#625]Bob Halley2021-12-201-12/+13
| | | | (cherry picked from commit d2b4a140d6da9d2d60570152a2507d96614b1326)
* add dns.edns.EDECode enumBob Halley2021-12-191-1/+2
|
* edns: implement Extended DNS Error Option supportTomas Krizek2021-12-191-0/+36
| | | | | This is quite minimalistic implementation of the Extended DNS Errors (RFC 8914). It just allows access to code and text fields.
* cope with 3.6 exception differenceBob Halley2021-12-071-3/+9
|
* cname and other data check in zonefile readerBob Halley2021-12-021-9/+21
|
* First draft of CNAME and other data handling in zones.Bob Halley2021-12-021-8/+133
|
* Fix replacement txn bugs in non-versioned zones [#732].Bob Halley2021-11-281-0/+29
|
* basic testing for async DoHBob Halley2021-11-271-1/+58
|
* Node find_rdataset() should set covers when creating [#730]Bob Halley2021-11-261-1/+10
|
* Merge pull request #715 from rthalley/rrset-readerBob Halley2021-11-201-0/+131
|\ | | | | rrset-reader PR
| * rrset-reader PRBob Halley2021-11-011-0/+131
| |
* | Merge pull request #723 from rthalley/httpx_if_possibleBob Halley2021-11-201-3/+95
|\ \ | | | | | | For DoH, use httpx and with HTTP/2 if we can
| * | incorporate feedback about sessions, optional http1, and http2 availabilityBob Halley2021-11-161-4/+18
| | |
| * | For DoH, use httpx and with HTTP/2 if we can, but fall back to requests if ↵Bob Halley2021-11-101-3/+81
| | | | | | | | | | | | we have to.
* | | Do not impose 2**31-1 bounds on TTL-like things; impose 2**32-1.Bob Halley2021-11-163-14/+7
| | |
* | | remove out-of-date commentBob Halley2021-11-161-2/+0
| | |
* | | Add WMI-based method for finding resolver info on Windows.win32utilBob Halley2021-11-091-9/+7
|/ /
* | Handle DHCP servers returning domains prefixed by dot [#687].Bob Halley2021-11-071-0/+10
| |
* | Add flags to dns.message.make_query().Brian Wellington2021-11-021-0/+6
|/
* Merge pull request #694 from rthalley/continue_on_errorBob Halley2021-10-251-1/+41
|\ | | | | Continue on error
| * Simplify; add a MessageError class.continue_on_errorBob Halley2021-10-241-3/+6
| |
| * add test of continue_on_errorBob Halley2021-10-231-1/+38
| |
* | Validate resolver nameservers when set [Issue #699].Bob Halley2021-10-243-14/+10
|/
* Merge pull request #703 from rthalley/cmp_fixBob Halley2021-10-202-0/+104
|\ | | | | Fix #698 and #702, problems caused by _cmp() giving the wrong result in some cases
| * Allow relative rdata comparisons for now, but disallow in the future.Bob Halley2021-10-141-35/+78
| |
| * Fix #698 and #702, problems caused by _cmp() giving the wrongBob Halley2021-10-112-0/+61
| | | | | | | | | | result in certain comparisons of rdata with relative and absolute names.
* | Allow digest type 0 for CDSPeter Thomassen2021-10-201-4/+19
| |
* | Add id to dns.message.make_query().Brian Wellington2021-10-141-0/+4
|/ | | | Allow the caller to supply a message id when building a query.
* Add support for RFC 6742 types.Brian Wellington2021-07-135-0/+70
| | | | This adds the NID, L32, L64, and LP types.
* If a negative response has an SOA in the authority section, thenBob Halley2021-07-111-1/+74
| | | | | | | 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.
* The APLItem constructor should make sure that the address fieldBob Halley2021-07-051-0/+8
| | | | is not too long for unknown address families. [#672]
* Do some basic xfr checks with an unversioned zone too.Bob Halley2021-07-051-0/+20
|
* add skip rule to testResolverNoNameserversBob Halley2021-06-151-0/+2
|
* Add want_origin parameter to zone to_text() and to_file().Bob Halley2021-06-132-0/+182
| | | | [Issue #654]
* Try to skip dangling CNAME tests if systemd-resolved is running. [Issue #658]Bob Halley2021-06-112-0/+25
|
* remove or comment out some prints in testsBob Halley2021-05-235-9/+4
|
* Eliminate the need for a serial parameter to inbound_xfr()Bob Halley2021-05-181-0/+15
|
* Test LifeTimeout and NoNameservers excetpions.lifetime_timeoutBob Halley2021-05-011-0/+61
|
* If a message handler returned None, do not yield it to the caller.Bob Halley2021-05-011-1/+1
| | | | | This is a bit cleaner than yielding it and having the caller throw an exception trying to treat it as a message.
* Update SVCB to the current spec.Brian Wellington2021-04-217-31/+230
|
* Fix repr() of GSS-TSIG key [Issue #657]Bob Halley2021-04-171-0/+14
|
* finish fixing nanonameserver handle(), and test it before committing :)Bob Halley2021-04-141-6/+3
|
* fix function signature and documentation of handle() methodBob Halley2021-04-141-2/+2
|
* Merge pull request #645 from rthalley/windows_asyncio_fixBob Halley2021-02-261-1/+13
|\ | | | | asyncio on Windows requries connected sockets. [Issue #637]