summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Allow unsigned 32 bit values for SOA refresh, retry, and expire [#724].Bob Halley2021-11-141-1/+15
|
* 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]
| * asyncio on Windows requries connected sockets. [Issue #637]windows_asyncio_fixBob Halley2021-02-251-1/+13
| |
* | Add custome exceptions.Brian Wellington2021-02-251-3/+9
| |
* | Test a non-relativized zone.Brian Wellington2021-02-251-0/+8
| |
* | Add more tests.Brian Wellington2021-02-251-1/+18
| | | | | | | | zone.compute_digest() didn't actually work. It does now.
* | Checkpoint ZONEMD support.Brian Wellington2021-02-245-0/+163
|/
* make `name in zone` consistent with `zone[name]`kimbo2021-02-161-0/+10
| | | | | specifically, allow name to be a str, and raise a KeyError if name cannot be converted into a dns.name.Name
* Ensure that DS digest length is consistent with digest typePeter Thomassen2021-01-181-0/+30
|
* Merge pull request #617 from peterthomassen/masterBob Halley2021-01-051-0/+38
|\ | | | | Allow custom chunksizes in dns.rdata.to_text
| * Pass kw from dns.rdata.to_text to _hexify and _base64ifyPeter Thomassen2021-01-051-0/+38
| |
* | _WireReader.read() should make flags a dns.flags.Flag [Issue #606]Bob Halley2021-01-041-0/+5
|/
* Change ChainingResult "rrset" to "answer"; fix typo.resolve_chainingBob Halley2020-12-211-1/+1
|
* resolve_chaining() now returns a ChainingResult object.Bob Halley2020-12-211-4/+5
|
* resolve_chaining() should not go into an infinite loop if the qtype isBob Halley2020-12-211-0/+14
| | | | CNAME and there is no answer [Issue #610].
* Add a test of a TSIG-signed AXFR of the root.Brian Wellington2020-11-251-5/+13
|
* Do not test override with default resolver if there is no Internet.Bob Halley2020-11-191-0/+1
|
* First pass at adding network timeouts to tests. This is for whenBob Halley2020-10-093-28/+41
| | | | | it looks like we have a network but it's not connected to the Internet.
* we should not canonicalize SVCB/HTTPS alias target either!Bob Halley2020-10-061-2/+2
|
* The alias target of an SVCB or HTTPS rdata must not be compressed.Bob Halley2020-10-061-0/+14
|
* Merge pull request #579 from rthalley/proc-orderBob Halley2020-09-091-0/+132
|\ | | | | Processing order
| * increase coverage for URI and SVCB processing_order()Bob Halley2020-09-091-0/+28
| |
| * correct and simplify weighted_processing_order()Bob Halley2020-09-091-9/+0
| |
| * test processing_order()Bob Halley2020-09-021-0/+113
| |