]>
git.ipfire.org Git - thirdparty/dnspython.git/log
kimbo [Tue, 16 Feb 2021 22:21:13 +0000 (15:21 -0700)]
make `name in zone` consistent with `zone[name]`
specifically, allow name to be a str, and raise a KeyError if name
cannot be converted into a dns.name.Name
Bob Halley [Thu, 11 Feb 2021 20:15:11 +0000 (12:15 -0800)]
Merge pull request #633 from kimbo/kl/doc-fix
doc fix: change fname to name
kimbo [Thu, 11 Feb 2021 19:44:08 +0000 (12:44 -0700)]
change fname to name
Bob Halley [Sun, 31 Jan 2021 22:52:13 +0000 (14:52 -0800)]
async StreamSockets were erronously subclassing the abstract DatagramSocket
Bob Halley [Sun, 31 Jan 2021 22:50:14 +0000 (14:50 -0800)]
Abstract methods should raise NotImplementedError, not return None
getpeername() and getsockname() are part of the abstract API but weren't
defined.
Bob Halley [Sun, 31 Jan 2021 22:20:03 +0000 (14:20 -0800)]
Merge pull request #627 from rthalley/dependabot/pip/mypy-tw-0.800
Update mypy requirement from ^0.790 to ^0.800
Bob Halley [Sun, 31 Jan 2021 22:18:44 +0000 (14:18 -0800)]
Merge pull request #625 from peterthomassen/20200118_dsbase_digest_length
Ensure that DS digest length is consistent with digest type
dependabot[bot] [Mon, 25 Jan 2021 05:38:55 +0000 (05:38 +0000)]
Update mypy requirement from ^0.790 to ^0.800
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.790...v0.800)
Signed-off-by: dependabot[bot] <support@github.com>
Peter Thomassen [Mon, 18 Jan 2021 16:59:06 +0000 (17:59 +0100)]
Ensure that DS digest length is consistent with digest type
Bob Halley [Wed, 13 Jan 2021 22:16:08 +0000 (14:16 -0800)]
Add missing items to rdtypes/ANY/__init__.py
Bob Halley [Wed, 13 Jan 2021 22:11:08 +0000 (14:11 -0800)]
Merge pull request #624 from peterthomassen/patch-1
Add missing items to rdtypes/IN/__init__.py
Peter Thomassen [Wed, 13 Jan 2021 15:57:41 +0000 (16:57 +0100)]
Add missing items to rdtypes/IN/__init__.py
Bob Halley [Tue, 12 Jan 2021 23:55:40 +0000 (15:55 -0800)]
Merge pull request #623 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.19
Update trio requirement from >=0.14,<0.18 to >=0.14,<0.19
dependabot[bot] [Tue, 12 Jan 2021 05:29:57 +0000 (05:29 +0000)]
Update trio requirement from >=0.14,<0.18 to >=0.14,<0.19
Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.18.0)
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Fri, 8 Jan 2021 12:48:14 +0000 (04:48 -0800)]
Include any pickles in tests directory [Issue #622].
Bob Halley [Thu, 7 Jan 2021 17:28:21 +0000 (09:28 -0800)]
post 2.1.0 versioning
Bob Halley [Thu, 7 Jan 2021 16:36:41 +0000 (08:36 -0800)]
remove obsolete download URL; add 3.9 classifier
Bob Halley [Thu, 7 Jan 2021 16:32:46 +0000 (08:32 -0800)]
update README for 2.1.0
Bob Halley [Thu, 7 Jan 2021 12:24:33 +0000 (04:24 -0800)]
Set 2.1.0 version.
Bob Halley [Tue, 5 Jan 2021 20:02:33 +0000 (12:02 -0800)]
Merge pull request #617 from peterthomassen/master
Allow custom chunksizes in dns.rdata.to_text
Peter Thomassen [Tue, 29 Dec 2020 17:25:22 +0000 (18:25 +0100)]
Pass kw from dns.rdata.to_text to _hexify and _base64ify
Bob Halley [Mon, 4 Jan 2021 22:34:45 +0000 (14:34 -0800)]
use methods with appropriate rcode/opcode typecasting in Message.to_text()
Bob Halley [Mon, 4 Jan 2021 21:49:50 +0000 (13:49 -0800)]
Cast flags and ednsflags to int when calling dns.rcode.from_flags() and
dns.opcode.from_flags(). This avoids subsequent to_text issues and other
type confusion if the values were allowed to remain IntFlags.
Bob Halley [Mon, 4 Jan 2021 20:17:36 +0000 (12:17 -0800)]
_WireReader.read() should make flags a dns.flags.Flag [Issue #606]
Bob Halley [Mon, 4 Jan 2021 16:40:16 +0000 (08:40 -0800)]
Add missing base classes to __init__.
Bob Halley [Sun, 3 Jan 2021 20:25:48 +0000 (12:25 -0800)]
Merge pull request #616 from timgates42/bugfix_typo_translation
docs: fix simple typo, transation -> translation
Tim Gates [Mon, 28 Dec 2020 23:31:20 +0000 (10:31 +1100)]
docs: fix simple typo, transation -> translation
There is a small typo in doc/zone-class.rst.
Should read `translation` rather than `transation`.
Bob Halley [Mon, 28 Dec 2020 21:05:37 +0000 (13:05 -0800)]
Merge pull request #614 from rthalley/resolve_chaining
resolve_chaining() now returns a ChainingResult object.
Bob Halley [Mon, 21 Dec 2020 19:43:19 +0000 (11:43 -0800)]
Change ChainingResult "rrset" to "answer"; fix typo.
Bob Halley [Mon, 21 Dec 2020 15:39:08 +0000 (07:39 -0800)]
resolve_chaining() now returns a ChainingResult object.
Bob Halley [Mon, 21 Dec 2020 15:11:30 +0000 (07:11 -0800)]
resolve_chaining() should not go into an infinite loop if the qtype is
CNAME and there is no answer [Issue #610].
Brian Wellington [Wed, 25 Nov 2020 18:55:42 +0000 (10:55 -0800)]
Add a test of a TSIG-signed AXFR of the root.
Brian Wellington [Wed, 25 Nov 2020 18:54:39 +0000 (10:54 -0800)]
Merge pull request #609 from salzmdan/master
TSIG: don't relativize algorithm name
Daniel Salzman [Wed, 25 Nov 2020 12:05:29 +0000 (13:05 +0100)]
TSIG: don't relativize algorithm name
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
Bob Halley [Thu, 19 Nov 2020 16:57:43 +0000 (08:57 -0800)]
Do not test override with default resolver if there is no Internet.
Bob Halley [Mon, 9 Nov 2020 21:54:12 +0000 (13:54 -0800)]
give on on Azure windows testing for now
Bob Halley [Sun, 1 Nov 2020 14:32:15 +0000 (06:32 -0800)]
yet another azure attempt
Bob Halley [Sun, 1 Nov 2020 14:30:05 +0000 (06:30 -0800)]
another azure attempt
Bob Halley [Sun, 1 Nov 2020 14:21:01 +0000 (06:21 -0800)]
azure + poetry attempt
Bob Halley [Fri, 30 Oct 2020 16:21:24 +0000 (09:21 -0700)]
update README.md for 2.1.0rc1
Bob Halley [Fri, 30 Oct 2020 16:20:23 +0000 (09:20 -0700)]
update versions for 2.1.0rc1
Brian Wellington [Thu, 29 Oct 2020 23:27:56 +0000 (16:27 -0700)]
Add repr() for dns.tsig.Key.
Bob Halley [Wed, 28 Oct 2020 15:56:55 +0000 (08:56 -0700)]
another azure try. sigh!
Bob Halley [Wed, 28 Oct 2020 15:50:16 +0000 (08:50 -0700)]
another try
Bob Halley [Wed, 28 Oct 2020 15:43:54 +0000 (08:43 -0700)]
still yet another azure fix attempt
Bob Halley [Wed, 28 Oct 2020 15:36:26 +0000 (08:36 -0700)]
yet another azure fix attempt
Bob Halley [Wed, 28 Oct 2020 15:28:29 +0000 (08:28 -0700)]
another azure fix attempt
Bob Halley [Wed, 21 Oct 2020 21:28:11 +0000 (14:28 -0700)]
azure fix take 2
Bob Halley [Wed, 21 Oct 2020 21:20:07 +0000 (14:20 -0700)]
try to fix azure
Bob Halley [Mon, 12 Oct 2020 16:06:05 +0000 (09:06 -0700)]
Merge pull request #593 from rthalley/dependabot/pip/mypy-tw-0.790
Update mypy requirement from ^0.782 to ^0.790
dependabot[bot] [Mon, 12 Oct 2020 05:46:16 +0000 (05:46 +0000)]
Update mypy requirement from ^0.782 to ^0.790
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.782...v0.790)
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Fri, 9 Oct 2020 16:35:14 +0000 (09:35 -0700)]
First pass at adding network timeouts to tests. This is for when
it looks like we have a network but it's not connected to the
Internet.
Bob Halley [Tue, 6 Oct 2020 17:04:14 +0000 (10:04 -0700)]
add comment on NSEC downcasing to avoid future confusion
Bob Halley [Tue, 6 Oct 2020 16:33:57 +0000 (09:33 -0700)]
we should not canonicalize SVCB/HTTPS alias target either!
Bob Halley [Tue, 6 Oct 2020 16:26:57 +0000 (09:26 -0700)]
The alias target of an SVCB or HTTPS rdata must not be compressed.
Bob Halley [Tue, 22 Sep 2020 14:11:24 +0000 (07:11 -0700)]
Merge pull request #586 from The-Compiler/no-deprecated
Avoid using deprecated Resolver.query in examples
Florian Bruhin [Mon, 21 Sep 2020 18:34:24 +0000 (20:34 +0200)]
Avoid using deprecated Resolver.query in examples
Bob Halley [Wed, 16 Sep 2020 14:28:03 +0000 (07:28 -0700)]
Merge pull request #583 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.18
Update trio requirement from >=0.14,<0.17 to >=0.14,<0.18
dependabot[bot] [Wed, 16 Sep 2020 05:12:50 +0000 (05:12 +0000)]
Update trio requirement from >=0.14,<0.17 to >=0.14,<0.18
Updates the requirements on [trio](https://github.com/python-trio/trio) to permit the latest version.
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](https://github.com/python-trio/trio/compare/v0.14.0...v0.17.0)
Signed-off-by: dependabot[bot] <support@github.com>
Bob Halley [Wed, 9 Sep 2020 12:59:19 +0000 (05:59 -0700)]
Merge pull request #579 from rthalley/proc-order
Processing order
Bob Halley [Wed, 9 Sep 2020 12:50:59 +0000 (05:50 -0700)]
increase coverage for URI and SVCB processing_order()
Bob Halley [Wed, 9 Sep 2020 12:36:09 +0000 (05:36 -0700)]
Merge pull request #580 from rthalley/full_match
Address RRset.match() signature issues
Bob Halley [Wed, 9 Sep 2020 12:35:36 +0000 (05:35 -0700)]
correct and simplify weighted_processing_order()
Brian Wellington [Tue, 8 Sep 2020 18:01:57 +0000 (11:01 -0700)]
Simplify code.
Bob Halley [Thu, 3 Sep 2020 14:46:53 +0000 (07:46 -0700)]
fix rrset match signature problems
Bob Halley [Thu, 3 Sep 2020 14:42:59 +0000 (07:42 -0700)]
add missing doco for override_rdclass parameter
Bob Halley [Thu, 3 Sep 2020 14:09:01 +0000 (07:09 -0700)]
fix trio example
Bob Halley [Mon, 31 Aug 2020 17:01:23 +0000 (10:01 -0700)]
test processing_order()
Bob Halley [Mon, 31 Aug 2020 17:01:10 +0000 (10:01 -0700)]
deal with all zero weight URI case
Bob Halley [Sat, 29 Aug 2020 20:48:51 +0000 (13:48 -0700)]
processing order implementation
Bob Halley [Tue, 1 Sep 2020 14:20:27 +0000 (07:20 -0700)]
test _as_* methods
Bob Halley [Tue, 1 Sep 2020 14:19:28 +0000 (07:19 -0700)]
_as_ttl was not returning the value if converting from a string
Bob Halley [Tue, 1 Sep 2020 14:06:27 +0000 (07:06 -0700)]
improve versioned zone coverage
Bob Halley [Tue, 1 Sep 2020 13:53:03 +0000 (06:53 -0700)]
remove obsolete change indication code from WritableVersion deletion code
Bob Halley [Tue, 1 Sep 2020 13:51:25 +0000 (06:51 -0700)]
add some versioned zone test cases
Bob Halley [Tue, 1 Sep 2020 13:38:18 +0000 (06:38 -0700)]
more test coverage for dns.query._matches_destination()
Bob Halley [Tue, 1 Sep 2020 13:08:43 +0000 (06:08 -0700)]
check for TTL type errors in rdataset/rrset from_text; allow text-form TTLs there.
Bob Halley [Mon, 31 Aug 2020 15:03:24 +0000 (08:03 -0700)]
add a note on type annotations
Bob Halley [Fri, 28 Aug 2020 01:53:17 +0000 (18:53 -0700)]
enable TSIG text format testing
Bob Halley [Fri, 28 Aug 2020 01:45:58 +0000 (18:45 -0700)]
Add DLV to example zone.
Bob Halley [Fri, 28 Aug 2020 01:30:27 +0000 (18:30 -0700)]
Separate common resolver functionality into a BaseResolver class.
Bob Halley [Fri, 28 Aug 2020 01:22:52 +0000 (18:22 -0700)]
refresh doco rdatatype list
Bob Halley [Fri, 28 Aug 2020 01:22:13 +0000 (18:22 -0700)]
disable one more quad nine thing
Bob Halley [Fri, 28 Aug 2020 01:21:49 +0000 (18:21 -0700)]
follow usual dnspython inheritance scheme for shared types
Bob Halley [Thu, 27 Aug 2020 15:26:19 +0000 (08:26 -0700)]
replace() can now rely on constructors to validate
Bob Halley [Thu, 27 Aug 2020 15:26:04 +0000 (08:26 -0700)]
lint
Bob Halley [Thu, 27 Aug 2020 12:46:52 +0000 (05:46 -0700)]
add SMIMEA to whatsnew
Bob Halley [Thu, 27 Aug 2020 12:45:23 +0000 (05:45 -0700)]
Merge pull request #578 from desec-io/master
Adds SMIMEA record type, RFC 8162
Nils Wisiol [Thu, 27 Aug 2020 07:47:02 +0000 (09:47 +0200)]
Adds SMIMEA record type, RFC 8162
Bob Halley [Wed, 26 Aug 2020 16:38:25 +0000 (09:38 -0700)]
Do not split OPENPGPKEY base64 into chunks. #577
Bob Halley [Wed, 26 Aug 2020 14:20:11 +0000 (07:20 -0700)]
try to work around pathing problem for codecov
Bob Halley [Wed, 26 Aug 2020 13:52:14 +0000 (06:52 -0700)]
restore missing windows tuple-fy
Bob Halley [Wed, 26 Aug 2020 13:49:56 +0000 (06:49 -0700)]
use classmethod for Gateway factories
Bob Halley [Wed, 26 Aug 2020 13:20:32 +0000 (06:20 -0700)]
more constructor checking work
Bob Halley [Tue, 25 Aug 2020 16:18:22 +0000 (09:18 -0700)]
remove duplicate isinstance check
Bob Halley [Tue, 25 Aug 2020 16:18:10 +0000 (09:18 -0700)]
use self._as_name()
Bob Halley [Tue, 25 Aug 2020 14:38:31 +0000 (07:38 -0700)]
stronger constructor checking in SVCB/HTTPS params
Bob Halley [Tue, 25 Aug 2020 14:32:11 +0000 (07:32 -0700)]
remove _constify() uses; more complete checking of bitmap windows types like NSEC
Bob Halley [Tue, 25 Aug 2020 13:49:55 +0000 (06:49 -0700)]
constructor checking for EDNS options
Bob Halley [Sun, 23 Aug 2020 02:11:19 +0000 (19:11 -0700)]
is_udp is better as Inbound attribute not parameter to process_message(). Increase coverage.