]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
9 days agouse the generic type checker ignore syntax instead of pyright
Bob Halley [Fri, 5 Dec 2025 23:42:14 +0000 (15:42 -0800)] 
use the generic type checker ignore syntax instead of pyright

3 weeks agodocs: Add :py:func:`...` annotations (#1238)
Josh Soref [Fri, 21 Nov 2025 20:47:36 +0000 (15:47 -0500)] 
docs: Add :py:func:`...` annotations (#1238)

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 weeks agoBump actions/checkout from 5 to 6 (#1239)
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>
4 weeks agoZone transfers should ignore glue that is not a subdomain of the
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".

6 weeks agoBump actions/upload-artifact from 4 to 5 (#1234)
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>
6 weeks agoBump actions/download-artifact from 5 to 6 (#1233)
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>
7 weeks agore-export immutable
Bob Halley [Wed, 22 Oct 2025 18:54:33 +0000 (11:54 -0700)] 
re-export immutable

7 weeks agopass args to uv
Bob Halley [Wed, 22 Oct 2025 18:53:29 +0000 (11:53 -0700)] 
pass args to uv

2 months agoupdate test matrix post 3.14 release
Bob Halley [Sat, 11 Oct 2025 13:14:29 +0000 (06:14 -0700)] 
update test matrix post 3.14 release

2 months agoadd python 3.14 to classifiers
Bob Halley [Sat, 11 Oct 2025 13:05:12 +0000 (06:05 -0700)] 
add python 3.14 to classifiers

2 months agoremove old lint configs
Bob Halley [Fri, 10 Oct 2025 16:53:49 +0000 (09:53 -0700)] 
remove old lint configs

2 months agoruff is enough for linting
Bob Halley [Fri, 10 Oct 2025 16:41:16 +0000 (09:41 -0700)] 
ruff is enough for linting

2 months agoVersion updater and uv build support (off by default).
Bob Halley [Fri, 10 Oct 2025 16:27:26 +0000 (09:27 -0700)] 
Version updater and uv build support (off by default).

2 months agoRename the getaddrinfo parameter "socktype" to "type" [#1231]
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.

2 months agouv helpers
Bob Halley [Wed, 8 Oct 2025 13:56:05 +0000 (06:56 -0700)] 
uv helpers

2 months agoFix typo in pyproject.toml (#1228)
Jakob Schlyter [Fri, 26 Sep 2025 15:14:45 +0000 (17:14 +0200)] 
Fix typo in pyproject.toml (#1228)

2 months agoadd ruff to dev deps
Bob Halley [Thu, 25 Sep 2025 18:14:12 +0000 (11:14 -0700)] 
add ruff to dev deps

2 months agoruff lint, add rrsigbase to __all__
Bob Halley [Thu, 25 Sep 2025 18:11:13 +0000 (11:11 -0700)] 
ruff lint, add rrsigbase to __all__

2 months agoInclude pyright in dev extra (#1227)
Jakob Schlyter [Thu, 25 Sep 2025 18:02:26 +0000 (20:02 +0200)] 
Include pyright in dev extra (#1227)

2 months agoInitial changes to prepare for SIG(0) (#1202)
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

2 months agoDo not test ECDSA deterministic mode if cryptography could not build
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.

2 months agoExtend tokenizer (#1226)
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()

2 months agoInclude sphinx only for Python 3.11 or later (#1225)
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

2 months agoAvoid infinite recursion when unpickling an Answer [#1224]
Bob Halley [Mon, 15 Sep 2025 19:19:29 +0000 (12:19 -0700)] 
Avoid infinite recursion when unpickling an Answer [#1224]

3 months agoupdate SECURITY.md after 2.8.0 release
Bob Halley [Sun, 7 Sep 2025 19:11:38 +0000 (12:11 -0700)] 
update SECURITY.md after 2.8.0 release

3 months agofurther update workflows
Bob Halley [Thu, 4 Sep 2025 19:18:23 +0000 (12:18 -0700)] 
further update workflows

3 months agoupdate workflows
Bob Halley [Thu, 4 Sep 2025 19:12:56 +0000 (12:12 -0700)] 
update workflows

3 months agoBump actions/checkout from 4 to 5 (#1222)
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>
3 months agoBump actions/setup-python from 5 to 6 (#1221)
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>
3 months agoBump actions/download-artifact from 4 to 5 (#1220)
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>
3 months agoonly publish on manual dispatch
Bob Halley [Thu, 4 Sep 2025 18:54:28 +0000 (11:54 -0700)] 
only publish on manual dispatch

3 months agoworking!
Bob Halley [Wed, 3 Sep 2025 19:56:53 +0000 (12:56 -0700)] 
working!

3 months agobrain fading
Bob Halley [Wed, 3 Sep 2025 19:55:10 +0000 (12:55 -0700)] 
brain fading

3 months agostill trying
Bob Halley [Wed, 3 Sep 2025 19:53:23 +0000 (12:53 -0700)] 
still trying

3 months agofix project rename and try again
Bob Halley [Wed, 3 Sep 2025 19:51:27 +0000 (12:51 -0700)] 
fix project rename and try again

3 months agoone more!
Bob Halley [Wed, 3 Sep 2025 19:42:12 +0000 (12:42 -0700)] 
one more!

3 months agolast try
Bob Halley [Wed, 3 Sep 2025 19:41:04 +0000 (12:41 -0700)] 
last try

3 months agostill trying
Bob Halley [Wed, 3 Sep 2025 19:26:36 +0000 (12:26 -0700)] 
still trying

3 months agotry again with python again
Bob Halley [Wed, 3 Sep 2025 18:54:59 +0000 (11:54 -0700)] 
try again with python again

3 months agotry again with python
Bob Halley [Wed, 3 Sep 2025 18:53:50 +0000 (11:53 -0700)] 
try again with python

3 months agotry again again
Bob Halley [Wed, 3 Sep 2025 18:39:16 +0000 (11:39 -0700)] 
try again again

3 months agotry again
Bob Halley [Wed, 3 Sep 2025 18:32:35 +0000 (11:32 -0700)] 
try again

3 months agofun with quoting
Bob Halley [Wed, 3 Sep 2025 18:25:51 +0000 (11:25 -0700)] 
fun with quoting

3 months agodash in names is bad
Bob Halley [Wed, 3 Sep 2025 18:21:43 +0000 (11:21 -0700)] 
dash in names is bad

3 months agotry renaming artifacts
Bob Halley [Wed, 3 Sep 2025 18:16:04 +0000 (11:16 -0700)] 
try renaming artifacts

3 months agomore run options
Bob Halley [Wed, 3 Sep 2025 18:04:08 +0000 (11:04 -0700)] 
more run options

3 months agoupdate test pypi url
Bob Halley [Wed, 3 Sep 2025 18:00:41 +0000 (11:00 -0700)] 
update test pypi url

3 months agoremove obsolete CI exclude
Bob Halley [Mon, 1 Sep 2025 23:40:34 +0000 (16:40 -0700)] 
remove obsolete CI exclude

3 months agomore release prep
Bob Halley [Mon, 1 Sep 2025 23:39:44 +0000 (16:39 -0700)] 
more release prep

3 months agobump version
Bob Halley [Mon, 1 Sep 2025 23:36:45 +0000 (16:36 -0700)] 
bump version

3 months ago2.8.0rc1 prep
Bob Halley [Mon, 1 Sep 2025 23:33:12 +0000 (16:33 -0700)] 
2.8.0rc1 prep

3 months agomore lint
Bob Halley [Mon, 1 Sep 2025 23:03:56 +0000 (16:03 -0700)] 
more lint

3 months agolint
Bob Halley [Mon, 1 Sep 2025 23:00:20 +0000 (16:00 -0700)] 
lint

3 months agoType syntax (#1218)
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

3 months agolint
Bob Halley [Sat, 23 Aug 2025 20:07:25 +0000 (13:07 -0700)] 
lint

3 months agofix the all entries
Bob Halley [Sat, 23 Aug 2025 19:57:30 +0000 (12:57 -0700)] 
fix the all entries

3 months agoadd missing DSYNC doco
Bob Halley [Sat, 23 Aug 2025 19:56:34 +0000 (12:56 -0700)] 
add missing DSYNC doco

3 months agoregenerate rdatatype doc
Bob Halley [Sat, 23 Aug 2025 19:48:45 +0000 (12:48 -0700)] 
regenerate rdatatype doc

3 months agoregenerate constants
Bob Halley [Sat, 23 Aug 2025 19:48:12 +0000 (12:48 -0700)] 
regenerate constants

3 months agosimplify complicate requirements when generating features
Bob Halley [Sat, 23 Aug 2025 19:46:35 +0000 (12:46 -0700)] 
simplify complicate requirements when generating features

3 months agofix repr issue with quotes within quotes
Bob Halley [Sat, 23 Aug 2025 19:43:20 +0000 (12:43 -0700)] 
fix repr issue with quotes within quotes

3 months agoregenerate features
Bob Halley [Sat, 23 Aug 2025 19:28:51 +0000 (12:28 -0700)] 
regenerate features

3 months agoremove python 3.9
Bob Halley [Sat, 23 Aug 2025 19:27:40 +0000 (12:27 -0700)] 
remove python 3.9

3 months agofreshen dependencies
Bob Halley [Sat, 23 Aug 2025 19:24:15 +0000 (12:24 -0700)] 
freshen dependencies

3 months agoadd btree & btreezone to __all__
Bob Halley [Sat, 23 Aug 2025 19:17:50 +0000 (12:17 -0700)] 
add btree & btreezone to __all__

3 months agoMake better APIs for creating sockets and TLS contexts (#1217)
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.

4 months agoBump actions/checkout from 4 to 5 (#1216)
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>
4 months agoBtree Zones (#1215)
Bob Halley [Sun, 10 Aug 2025 21:16:34 +0000 (14:16 -0700)] 
Btree Zones (#1215)

* Add BTree zone

4 months agoblack formatting; fix IPv6 extraction; fix infinite loop if an interface is non-opera...
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

4 months agolint
Bob Halley [Sat, 26 Jul 2025 15:51:20 +0000 (08:51 -0700)] 
lint

4 months agoSpecify the utf-8 encoding when opening files [#1188].
Bob Halley [Sat, 26 Jul 2025 15:36:29 +0000 (08:36 -0700)] 
Specify the utf-8 encoding when opening files [#1188].

4 months agoFix signing initially empty zone. (#1213)
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)

4 months agoUse Windows API to get dns nameservers (#1196)
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.

4 months agoFix broken test.
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).

4 months agoFix: Allow tuple in nameservers type check (#1209)
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>
5 months agoMore TSIG fixes. (#1207)
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.

5 months agomessage to_text() did not print a tsig when there was one
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

5 months agoTSIG fix for make_response() (#1206)
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.

5 months agoadd python 3.14-dev to CI
Bob Halley [Mon, 16 Jun 2025 13:06:22 +0000 (06:06 -0700)] 
add python 3.14-dev to CI

5 months agoBuild with Python 3.13 (#1203)
Jakob Schlyter [Mon, 16 Jun 2025 12:59:21 +0000 (14:59 +0200)] 
Build with Python 3.13 (#1203)

6 months agoAdd RFC 2136 to RFC reference [#1201]
Bob Halley [Sun, 8 Jun 2025 18:34:44 +0000 (11:34 -0700)] 
Add RFC 2136 to RFC reference [#1201]

6 months agoImprove EDECode description.
Brian Wellington [Fri, 23 May 2025 19:53:03 +0000 (12:53 -0700)] 
Improve EDECode description.

6 months agoFix missing references [#1193]
Bob Halley [Sat, 17 May 2025 14:42:34 +0000 (07:42 -0700)] 
Fix missing references [#1193]

7 months agoUpdate wmi extra to only install on Windows (#1192)
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.

8 months agoFix want_dnssec semantics.
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.

8 months agofix type issue with to_generic()
Bob Halley [Mon, 7 Apr 2025 14:57:27 +0000 (07:57 -0700)] 
fix type issue with to_generic()

8 months agoAdd type hints for `Rdata` and `GenericRdata` constructors (#1190)
Jeremy Lainé [Mon, 7 Apr 2025 14:55:15 +0000 (16:55 +0200)] 
Add type hints for `Rdata` and `GenericRdata` constructors (#1190)

8 months agofix type error in _http3 verify parameter
Bob Halley [Sun, 30 Mar 2025 19:35:05 +0000 (12:35 -0700)] 
fix type error in _http3 verify parameter

8 months agolint for DSYNC
Bob Halley [Sun, 30 Mar 2025 19:30:25 +0000 (12:30 -0700)] 
lint for DSYNC

8 months agoallow ssl.SSLContext type in the verify= argument of dns.query.https() (#1173)
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()

8 months agoadd comment that running xfr example does not work for access control reasons
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

8 months agodocs: update zone transfer example to use inbound_xfr() (#1189)
Patrick Evans [Sun, 30 Mar 2025 19:22:59 +0000 (19:22 +0000)] 
docs: update zone transfer example to use inbound_xfr() (#1189)

8 months agoFix a DSYNC type issue, harmonize its scheme type, and increase coverage.
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.

8 months agoAdd DSYNC rdatatype support (#1185)
Peter Thomassen [Sun, 30 Mar 2025 18:45:58 +0000 (20:45 +0200)] 
Add DSYNC rdatatype support (#1185)

Add DSYNC rdatatype support.

8 months agodocs: fix enum module name for udp_mode (#1187)
Patrick Evans [Wed, 26 Mar 2025 13:23:18 +0000 (13:23 +0000)] 
docs: fix enum module name for udp_mode (#1187)

8 months agofix issues found with latest version of pyright
Bob Halley [Wed, 26 Mar 2025 13:22:28 +0000 (06:22 -0700)] 
fix issues found with latest version of pyright

8 months agoremove unused hostname parameter to _https helper, and fix default port in the helper
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

8 months agoAdd support for persistent H3 connections. (#1184)
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.

8 months agoAllow built-in `IPv{4,6}Address` objects when constructing A/AAAA rdata (#1183)
Š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>
10 months agomake the latest pyright happy
Bob Halley [Wed, 29 Jan 2025 19:46:34 +0000 (11:46 -0800)] 
make the latest pyright happy