]>
git.ipfire.org Git - thirdparty/dnspython.git/log
dependabot[bot] [Fri, 21 Nov 2025 16:55:20 +0000 (08:55 -0800)]
Bump actions/checkout from 5 to 6 (#1239)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Sat, 15 Nov 2025 15:53:25 +0000 (07:53 -0800)]
Zone transfers should ignore glue that is not a subdomain of the
origin [#1236].
Ideally, we'd actually store this somewhere as in theory it is
needed for pathological cross zone dependencies. We are
not doing this as in practice such dependencies break a lot of
DNS software, and are usually not viable "in the wild".
dependabot[bot] [Tue, 28 Oct 2025 01:34:07 +0000 (18:34 -0700)]
Bump actions/upload-artifact from 4 to 5 (#1234)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Tue, 28 Oct 2025 01:33:56 +0000 (18:33 -0700)]
Bump actions/download-artifact from 5 to 6 (#1233)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Wed, 22 Oct 2025 18:54:33 +0000 (11:54 -0700)]
re-export immutable
Bob Halley [Wed, 22 Oct 2025 18:53:29 +0000 (11:53 -0700)]
pass args to uv
Bob Halley [Sat, 11 Oct 2025 13:14:29 +0000 (06:14 -0700)]
update test matrix post 3.14 release
Bob Halley [Sat, 11 Oct 2025 13:05:12 +0000 (06:05 -0700)]
add python 3.14 to classifiers
Bob Halley [Fri, 10 Oct 2025 16:53:49 +0000 (09:53 -0700)]
remove old lint configs
Bob Halley [Fri, 10 Oct 2025 16:41:16 +0000 (09:41 -0700)]
ruff is enough for linting
Bob Halley [Fri, 10 Oct 2025 16:27:26 +0000 (09:27 -0700)]
Version updater and uv build support (off by default).
Bob Halley [Wed, 8 Oct 2025 18:21:54 +0000 (11:21 -0700)]
Rename the getaddrinfo parameter "socktype" to "type" [#1231]
The socket type parameter to socket.getaddrinfo used to be called "socktype" in
Python 2, but was renamed to "type" in Python 3. We applied this change on
the python3 branch almost a decade ago, but it was lost in the "single code base,
only Python 3" update, also quite some time ago. It is now renamed to "type"
(again) so it matches the Python 3 code it is overriding.
Bob Halley [Wed, 8 Oct 2025 13:56:05 +0000 (06:56 -0700)]
uv helpers
Jakob Schlyter [Fri, 26 Sep 2025 15:14:45 +0000 (17:14 +0200)]
Fix typo in pyproject.toml (#1228)
Bob Halley [Thu, 25 Sep 2025 18:14:12 +0000 (11:14 -0700)]
add ruff to dev deps
Bob Halley [Thu, 25 Sep 2025 18:11:13 +0000 (11:11 -0700)]
ruff lint, add rrsigbase to __all__
Jakob Schlyter [Thu, 25 Sep 2025 18:02:26 +0000 (20:02 +0200)]
Include pyright in dev extra (#1227)
Jakob Schlyter [Thu, 25 Sep 2025 18:01:43 +0000 (20:01 +0200)]
Initial changes to prepare for SIG(0) (#1202)
* # This is a combination of 6 commits.
# This is the 1st commit message:
Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR
# This is the commit message #2:
Parse flags mnemonics and symbolic protocol names
# This is the commit message #3:
RFC 2535 section 7.1 says "Note that if the type flags field has the NOKEY value, nothing appears after the algorithm octet."
# This is the commit message #4:
Include sphinx only for Python 3.11 or later (#1225)
* Include sphinx only for Python 3.11 or later
* Use python_version
# This is the commit message #5:
Save token before returning it (for exception handling)
# This is the commit message #6:
Replace get/unget with plain unget and last token
* Initial changes to prepare for SIG(0):
- Add shared RRSIGBase for code shared between RRSIG and SIG
- Add KEY RR
- Add SIG RR
- Parse flags mnemonics and symbolic protocol names
* Make pyright happy
Bob Halley [Sat, 20 Sep 2025 17:17:27 +0000 (10:17 -0700)]
Do not test ECDSA deterministic mode if cryptography could not build
a wheel with support for it. This can happen with pypy on ubuntu-latest.
Jakob Schlyter [Thu, 18 Sep 2025 21:22:39 +0000 (23:22 +0200)]
Extend tokenizer (#1226)
* Extend tokenizer with as_int, as_uint8, as_uint16, as_uint32, as_uint48 and as_string
* Add as_identifier()
Jakob Schlyter [Tue, 16 Sep 2025 19:06:30 +0000 (21:06 +0200)]
Include sphinx only for Python 3.11 or later (#1225)
* Include sphinx only for Python 3.11 or later
* Use python_version
Bob Halley [Mon, 15 Sep 2025 19:19:29 +0000 (12:19 -0700)]
Avoid infinite recursion when unpickling an Answer [#1224]
Bob Halley [Sun, 7 Sep 2025 19:11:38 +0000 (12:11 -0700)]
update SECURITY.md after 2.8.0 release
Bob Halley [Thu, 4 Sep 2025 19:18:23 +0000 (12:18 -0700)]
further update workflows
Bob Halley [Thu, 4 Sep 2025 19:12:56 +0000 (12:12 -0700)]
update workflows
dependabot[bot] [Thu, 4 Sep 2025 18:55:47 +0000 (11:55 -0700)]
Bump actions/checkout from 4 to 5 (#1222)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Sep 2025 18:55:24 +0000 (11:55 -0700)]
Bump actions/setup-python from 5 to 6 (#1221)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 4 Sep 2025 18:55:03 +0000 (11:55 -0700)]
Bump actions/download-artifact from 4 to 5 (#1220)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Thu, 4 Sep 2025 18:54:28 +0000 (11:54 -0700)]
only publish on manual dispatch
Bob Halley [Wed, 3 Sep 2025 19:56:53 +0000 (12:56 -0700)]
working!
Bob Halley [Wed, 3 Sep 2025 19:55:10 +0000 (12:55 -0700)]
brain fading
Bob Halley [Wed, 3 Sep 2025 19:53:23 +0000 (12:53 -0700)]
still trying
Bob Halley [Wed, 3 Sep 2025 19:51:27 +0000 (12:51 -0700)]
fix project rename and try again
Bob Halley [Wed, 3 Sep 2025 19:42:12 +0000 (12:42 -0700)]
one more!
Bob Halley [Wed, 3 Sep 2025 19:41:04 +0000 (12:41 -0700)]
last try
Bob Halley [Wed, 3 Sep 2025 19:26:36 +0000 (12:26 -0700)]
still trying
Bob Halley [Wed, 3 Sep 2025 18:54:59 +0000 (11:54 -0700)]
try again with python again
Bob Halley [Wed, 3 Sep 2025 18:53:50 +0000 (11:53 -0700)]
try again with python
Bob Halley [Wed, 3 Sep 2025 18:39:16 +0000 (11:39 -0700)]
try again again
Bob Halley [Wed, 3 Sep 2025 18:32:35 +0000 (11:32 -0700)]
try again
Bob Halley [Wed, 3 Sep 2025 18:25:51 +0000 (11:25 -0700)]
fun with quoting
Bob Halley [Wed, 3 Sep 2025 18:21:43 +0000 (11:21 -0700)]
dash in names is bad
Bob Halley [Wed, 3 Sep 2025 18:16:04 +0000 (11:16 -0700)]
try renaming artifacts
Bob Halley [Wed, 3 Sep 2025 18:04:08 +0000 (11:04 -0700)]
more run options
Bob Halley [Wed, 3 Sep 2025 18:00:41 +0000 (11:00 -0700)]
update test pypi url
Bob Halley [Mon, 1 Sep 2025 23:40:34 +0000 (16:40 -0700)]
remove obsolete CI exclude
Bob Halley [Mon, 1 Sep 2025 23:39:44 +0000 (16:39 -0700)]
more release prep
Bob Halley [Mon, 1 Sep 2025 23:36:45 +0000 (16:36 -0700)]
bump version
Bob Halley [Mon, 1 Sep 2025 23:33:12 +0000 (16:33 -0700)]
2.8.0rc1 prep
Bob Halley [Mon, 1 Sep 2025 23:03:56 +0000 (16:03 -0700)]
more lint
Bob Halley [Mon, 1 Sep 2025 23:00:20 +0000 (16:00 -0700)]
lint
Bob Halley [Sat, 30 Aug 2025 19:30:41 +0000 (12:30 -0700)]
Type syntax (#1218)
* use | type syntax when possible instead of Optional and Union
* fix other unused-import errors and re-enable F401
Bob Halley [Sat, 23 Aug 2025 20:07:25 +0000 (13:07 -0700)]
lint
Bob Halley [Sat, 23 Aug 2025 19:57:30 +0000 (12:57 -0700)]
fix the all entries
Bob Halley [Sat, 23 Aug 2025 19:56:34 +0000 (12:56 -0700)]
add missing DSYNC doco
Bob Halley [Sat, 23 Aug 2025 19:48:45 +0000 (12:48 -0700)]
regenerate rdatatype doc
Bob Halley [Sat, 23 Aug 2025 19:48:12 +0000 (12:48 -0700)]
regenerate constants
Bob Halley [Sat, 23 Aug 2025 19:46:35 +0000 (12:46 -0700)]
simplify complicate requirements when generating features
Bob Halley [Sat, 23 Aug 2025 19:43:20 +0000 (12:43 -0700)]
fix repr issue with quotes within quotes
Bob Halley [Sat, 23 Aug 2025 19:28:51 +0000 (12:28 -0700)]
regenerate features
Bob Halley [Sat, 23 Aug 2025 19:27:40 +0000 (12:27 -0700)]
remove python 3.9
Bob Halley [Sat, 23 Aug 2025 19:24:15 +0000 (12:24 -0700)]
freshen dependencies
Bob Halley [Sat, 23 Aug 2025 19:17:50 +0000 (12:17 -0700)]
add btree & btreezone to __all__
Bob Halley [Mon, 18 Aug 2025 18:11:32 +0000 (11:11 -0700)]
Make better APIs for creating sockets and TLS contexts (#1217)
* Make better APIs for creating sockets and TLS contexts for
code that wants to have persistent connections. [#1176].
This code keeps the ability to use dnspython when the ssl module
doesn't work, but moves the helper code to another module to declutter
and make testing and type checking easier.
We still have to make some type checking compromises, but we are
making fewer than before.
dependabot[bot] [Tue, 12 Aug 2025 13:54:18 +0000 (06:54 -0700)]
Bump actions/checkout from 4 to 5 (#1216)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bob Halley [Sun, 10 Aug 2025 21:16:34 +0000 (14:16 -0700)]
Btree Zones (#1215)
* Add BTree zone
Bob Halley [Sat, 26 Jul 2025 19:57:26 +0000 (12:57 -0700)]
black formatting; fix IPv6 extraction; fix infinite loop if an interface is non-operational
Bob Halley [Sat, 26 Jul 2025 15:51:20 +0000 (08:51 -0700)]
lint
Bob Halley [Sat, 26 Jul 2025 15:36:29 +0000 (08:36 -0700)]
Specify the utf-8 encoding when opening files [#1188].
Brian Wellington [Sat, 26 Jul 2025 15:13:41 +0000 (08:13 -0700)]
Fix signing initially empty zone. (#1213)
dns.dnssec.sign_zone() fails if the SOA is added in the same transaction
that signs the zone, because it's not using the active transaction when
looking for the SOA. (#1210)
Steven Silvester [Sat, 26 Jul 2025 15:10:06 +0000 (10:10 -0500)]
Use Windows API to get dns nameservers (#1196)
Add an option to use the Windows API to get dns nameservers for better accuracy.
Brian Wellington [Mon, 21 Jul 2025 20:33:05 +0000 (13:33 -0700)]
Fix broken test.
With the change in #1209, an empty tuple is no longer invalid when
specifying resolvers. It was failing before because it was a tuple, and
tuples are now valid (and there are no checks for empty sequences).
Oleksiy ("Alex") SEMENYAKA [Mon, 21 Jul 2025 20:32:54 +0000 (23:32 +0300)]
Fix: Allow tuple in nameservers type check (#1209)
* Fix: Allow tuple in nameservers type check
* Update resolver.py
Add missing space.
* Update documentation.
---------
Co-authored-by: Alex Semenyaka <alex.semenyaka@gmail.com>
Co-authored-by: Brian Wellington <bwelling@xbill.org>
Brian Wellington [Thu, 10 Jul 2025 20:55:55 +0000 (13:55 -0700)]
More TSIG fixes. (#1207)
* More TSIG fixes.
This attempts to fix the bug that when a message containing a TSIG
record is parsed from wire format, attempting to render it back to wire
format will either regenerate the TSIG (if the TSIG was verified) or
throw an exception (if the TSIG was not verified). In either case,
the rendered message should contain the TSIG record that was parsed.
* Fix setting tsig_ctx.
Bob Halley [Fri, 4 Jul 2025 19:35:30 +0000 (12:35 -0700)]
message to_text() did not print a tsig when there was one
Brian Wellington [Fri, 4 Jul 2025 19:32:08 +0000 (12:32 -0700)]
TSIG fix for make_response() (#1206)
If a query contained a TSIG record that was unverified, attempting to
make a response to that query would throw an exception.
This should fix https://github.com/rthalley/dnspython/issues/1205.
Bob Halley [Mon, 16 Jun 2025 13:06:22 +0000 (06:06 -0700)]
add python 3.14-dev to CI
Jakob Schlyter [Mon, 16 Jun 2025 12:59:21 +0000 (14:59 +0200)]
Build with Python 3.13 (#1203)
Bob Halley [Sun, 8 Jun 2025 18:34:44 +0000 (11:34 -0700)]
Add RFC 2136 to RFC reference [#1201]
Brian Wellington [Fri, 23 May 2025 19:53:03 +0000 (12:53 -0700)]
Improve EDECode description.
Bob Halley [Sat, 17 May 2025 14:42:34 +0000 (07:42 -0700)]
Fix missing references [#1193]
Jason R. Coombs [Wed, 23 Apr 2025 13:57:54 +0000 (09:57 -0400)]
Update wmi extra to only install on Windows (#1192)
Since installing `dnspython[wmi]` is the recommended way to avoid querying dns servers on inactive interfaces (#1191), but WMI is only meaningful on Windows, perhaps the extra should only be installed on Windows.
Brian Wellington [Thu, 10 Apr 2025 22:21:11 +0000 (15:21 -0700)]
Fix want_dnssec semantics.
Calling dns.message.make_query() with ednsflags including dns.flags.DO
didn't work properly. The code would call Message.use_edns(), which
would do the right thing, and then call Message.want_dnssec(false)
because want_dnssec defaults False, which would overwrite the flags with
the wrong value.
This slightly changes the semantics, to make want_dnssec only have an
effect if it's True. That's already what the documentation says.
Bob Halley [Mon, 7 Apr 2025 14:57:27 +0000 (07:57 -0700)]
fix type issue with to_generic()
Jeremy Lainé [Mon, 7 Apr 2025 14:55:15 +0000 (16:55 +0200)]
Add type hints for `Rdata` and `GenericRdata` constructors (#1190)
Bob Halley [Sun, 30 Mar 2025 19:35:05 +0000 (12:35 -0700)]
fix type error in _http3 verify parameter
Bob Halley [Sun, 30 Mar 2025 19:30:25 +0000 (12:30 -0700)]
lint for DSYNC
Thomas Steen Rasmussen [Sun, 30 Mar 2025 19:26:32 +0000 (21:26 +0200)]
allow ssl.SSLContext type in the verify= argument of dns.query.https() (#1173)
allow ssl.SSLContext type in the verify= argument of dns.query.https() and dns.asyncquery.https()
Bob Halley [Sun, 30 Mar 2025 19:24:37 +0000 (12:24 -0700)]
add comment that running xfr example does not work for access control reasons
Patrick Evans [Sun, 30 Mar 2025 19:22:59 +0000 (19:22 +0000)]
docs: update zone transfer example to use inbound_xfr() (#1189)
Bob Halley [Sun, 30 Mar 2025 19:09:36 +0000 (12:09 -0700)]
Fix a DSYNC type issue, harmonize its scheme type, and increase coverage.
Peter Thomassen [Sun, 30 Mar 2025 18:45:58 +0000 (20:45 +0200)]
Add DSYNC rdatatype support (#1185)
Add DSYNC rdatatype support.
Patrick Evans [Wed, 26 Mar 2025 13:23:18 +0000 (13:23 +0000)]
docs: fix enum module name for udp_mode (#1187)
Bob Halley [Wed, 26 Mar 2025 13:22:28 +0000 (06:22 -0700)]
fix issues found with latest version of pyright
Bob Halley [Sat, 22 Mar 2025 15:22:24 +0000 (08:22 -0700)]
remove unused hostname parameter to _https helper, and fix default port in the helper
Brian Wellington [Thu, 20 Mar 2025 14:43:40 +0000 (07:43 -0700)]
Add support for persistent H3 connections. (#1184)
* Add support for persistent H3 connections.
* Make mypy happy.
* Make pyright happy.
Štěpán Balážik [Mon, 17 Mar 2025 14:58:16 +0000 (15:58 +0100)]
Allow built-in `IPv{4,6}Address` objects when constructing A/AAAA rdata (#1183)
* Allow built-in IPv{4,6}Address objects when constructing A/AAAA rdata
Also applies elsewhere where dns.rdata.Rdata._as_ipv{4,6}_address is
used.
* Typecheck `tok` argument in dns.rdata.from_text
This now returns a better error message. Previously:
`SyntaxError: 'foo' object has no attribute 'get'`
Now:
`ValueError: tok must be a string or a Tokenizer`
---------
Co-authored-by: Štěpán Balážik <stepan@isc.org>
Bob Halley [Wed, 29 Jan 2025 19:46:34 +0000 (11:46 -0800)]
make the latest pyright happy
Bob Halley [Wed, 29 Jan 2025 19:36:31 +0000 (11:36 -0800)]
QUIC code should process verify correctly when given a directory (#1179)
path. [#1174]
Bob Halley [Thu, 23 Jan 2025 20:07:10 +0000 (12:07 -0800)]
Do not leak fds when using a selector [#1177]. (#1178)