]> git.ipfire.org Git - thirdparty/dnspython.git/log
thirdparty/dnspython.git
4 years agoUpdate idna requirement from ^2.1 to >=2.1,<4.0 675/head
dependabot[bot] [Tue, 13 Jul 2021 16:02:46 +0000 (16:02 +0000)] 
Update idna requirement from ^2.1 to >=2.1,<4.0

Updates the requirements on [idna](https://github.com/kjd/idna) to permit the latest version.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v2.1...v3.2)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoavoid compatibility warnings for python 3.12
Bob Halley [Sat, 10 Jul 2021 22:28:59 +0000 (15:28 -0700)] 
avoid compatibility warnings for python 3.12

4 years agoThe APLItem constructor should make sure that the address field
Bob Halley [Tue, 6 Jul 2021 01:47:21 +0000 (18:47 -0700)] 
The APLItem constructor should make sure that the address field
is not too long for unknown address families.  [#672]

4 years agoDo some basic xfr checks with an unversioned zone too.
Bob Halley [Tue, 6 Jul 2021 01:33:59 +0000 (18:33 -0700)] 
Do some basic xfr checks with an unversioned zone too.

4 years agoMerge pull request #671 from rthalley/dependabot/pip/mypy-tw-0.910
Bob Halley [Thu, 24 Jun 2021 18:07:28 +0000 (11:07 -0700)] 
Merge pull request #671 from rthalley/dependabot/pip/mypy-tw-0.910

Update mypy requirement from ^0.902 to ^0.910

4 years agoUpdate mypy requirement from ^0.902 to ^0.910 671/head
dependabot[bot] [Wed, 23 Jun 2021 16:02:39 +0000 (16:02 +0000)] 
Update mypy requirement from ^0.902 to ^0.910

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.902...v0.910)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #669 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.20
Bob Halley [Wed, 16 Jun 2021 16:35:49 +0000 (09:35 -0700)] 
Merge pull request #669 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.20

Update trio requirement from >=0.14,<0.19 to >=0.14,<0.20

4 years agoUpdate trio requirement from >=0.14,<0.19 to >=0.14,<0.20 669/head
dependabot[bot] [Wed, 16 Jun 2021 05:12:43 +0000 (05:12 +0000)] 
Update trio requirement from >=0.14,<0.19 to >=0.14,<0.20

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.19.0)

---
updated-dependencies:
- dependency-name: trio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoremove old CI stuff
Bob Halley [Tue, 15 Jun 2021 19:43:25 +0000 (12:43 -0700)] 
remove old CI stuff

4 years agoadd skip rule to testResolverNoNameservers
Bob Halley [Tue, 15 Jun 2021 19:43:08 +0000 (12:43 -0700)] 
add skip rule to testResolverNoNameservers

4 years agoPoint build status link at the actions page.
Bob Halley [Sun, 13 Jun 2021 21:56:06 +0000 (14:56 -0700)] 
Point build status link at the actions page.

4 years agoAdd want_origin parameter to zone to_text() and to_file().
Bob Halley [Sun, 13 Jun 2021 21:50:13 +0000 (14:50 -0700)] 
Add want_origin parameter to zone to_text() and to_file().
[Issue #654]

4 years agoswitch build status badge
Bob Halley [Fri, 11 Jun 2021 17:33:04 +0000 (10:33 -0700)] 
switch build status badge

4 years agoTry to skip dangling CNAME tests if systemd-resolved is running. [Issue #658]
Bob Halley [Fri, 11 Jun 2021 17:26:04 +0000 (10:26 -0700)] 
Try to skip dangling CNAME tests if systemd-resolved is running. [Issue #658]

4 years agoCreate python-package.yml
Bob Halley [Fri, 11 Jun 2021 17:02:54 +0000 (10:02 -0700)] 
Create python-package.yml

try out github actions

4 years agoMerge pull request #668 from rthalley/dependabot/pip/mypy-tw-0.902
Bob Halley [Fri, 11 Jun 2021 16:47:50 +0000 (09:47 -0700)] 
Merge pull request #668 from rthalley/dependabot/pip/mypy-tw-0.902

Update mypy requirement from ^0.901 to ^0.902

4 years agoUpdate mypy requirement from ^0.901 to ^0.902 668/head
dependabot[bot] [Fri, 11 Jun 2021 05:07:33 +0000 (05:07 +0000)] 
Update mypy requirement from ^0.901 to ^0.902

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.901...v0.902)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #667 from rthalley/dependabot/pip/mypy-tw-0.901
Bob Halley [Wed, 9 Jun 2021 16:08:41 +0000 (09:08 -0700)] 
Merge pull request #667 from rthalley/dependabot/pip/mypy-tw-0.901

Update mypy requirement from ^0.812 to ^0.901

4 years agoUpdate mypy requirement from ^0.812 to ^0.901 667/head
dependabot[bot] [Wed, 9 Jun 2021 05:06:22 +0000 (05:06 +0000)] 
Update mypy requirement from ^0.812 to ^0.901

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.812...v0.901)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoremove or comment out some prints in tests
Bob Halley [Sun, 23 May 2021 17:06:07 +0000 (10:06 -0700)] 
remove or comment out some prints in tests

4 years agoRemove debugging prints from xfr code.
Bob Halley [Sun, 23 May 2021 12:04:58 +0000 (05:04 -0700)] 
Remove debugging prints from xfr code.

4 years agoAnother try at not hardwiring class IN in dns.xfr.make_query()
Bob Halley [Fri, 21 May 2021 02:08:31 +0000 (19:08 -0700)] 
Another try at not hardwiring class IN in dns.xfr.make_query()

4 years agoEliminate the need for a serial parameter to inbound_xfr()
Bob Halley [Tue, 18 May 2021 13:59:58 +0000 (06:59 -0700)] 
Eliminate the need for a serial parameter to inbound_xfr()

4 years agoFix two problems with dns.xfr.make_query():
Bob Halley [Tue, 18 May 2021 13:52:15 +0000 (06:52 -0700)] 
Fix two problems with dns.xfr.make_query():

1) We always used class IN instead of using the class of the txn manager.
2) We directly appended to the authority section instead of using
   find_rrset(), which meant that our changes were not indexed and
   would break if other code tried to use find_rrset() to find what
   we added.

4 years agoMerge pull request #666 from hvanderheide/master
Bob Halley [Tue, 18 May 2021 11:56:42 +0000 (04:56 -0700)] 
Merge pull request #666 from hvanderheide/master

Added serial to inbound_xfr arguments

4 years agoAdded serial to inbound_xfr arguments 666/head
Hidde van der Heide [Tue, 18 May 2021 11:22:06 +0000 (13:22 +0200)] 
Added serial to inbound_xfr arguments

4 years agoupdate with 2.2.0 changes so far
Bob Halley [Mon, 10 May 2021 12:41:24 +0000 (05:41 -0700)] 
update with 2.2.0 changes so far

4 years agoMerge pull request #664 from rthalley/dependabot/pip/sphinx-tw-4.0.0
Bob Halley [Mon, 10 May 2021 12:45:31 +0000 (05:45 -0700)] 
Merge pull request #664 from rthalley/dependabot/pip/sphinx-tw-4.0.0

Update sphinx requirement from ^3.0.0 to ^4.0.0

4 years agoUpdate sphinx requirement from ^3.0.0 to ^4.0.0 664/head
dependabot[bot] [Mon, 10 May 2021 05:34:32 +0000 (05:34 +0000)] 
Update sphinx requirement from ^3.0.0 to ^4.0.0

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #663 from mbakke/rdtypes_import_fix
Bob Halley [Fri, 7 May 2021 15:56:57 +0000 (08:56 -0700)] 
Merge pull request #663 from mbakke/rdtypes_import_fix

Prevent import failure when /etc/protocols is unavailable.

4 years agoPrevent import failure when /etc/protocols is unavailable. 663/head
Marius Bakke [Thu, 6 May 2021 16:06:11 +0000 (18:06 +0200)] 
Prevent import failure when /etc/protocols is unavailable.

Fixes #662.

* dns/rdtypes/IN/WKS.py: Wrap TCP and UDP protocol lookups in
try...except.

4 years agoLint pass
Bob Halley [Mon, 3 May 2021 00:12:38 +0000 (17:12 -0700)] 
Lint pass

4 years agoMerge pull request #661 from rthalley/lifetime_timeout
Bob Halley [Sun, 2 May 2021 16:34:34 +0000 (09:34 -0700)] 
Merge pull request #661 from rthalley/lifetime_timeout

Return error trace in LifetimeTimeout

4 years agoTest LifeTimeout and NoNameservers excetpions. 661/head
Bob Halley [Sat, 1 May 2021 21:20:45 +0000 (14:20 -0700)] 
Test LifeTimeout and NoNameservers excetpions.

4 years agoIf a message handler returned None, do not yield it to the caller.
Bob Halley [Sat, 1 May 2021 21:19:16 +0000 (14:19 -0700)] 
If a message handler returned None, do not yield it to the caller.

This is a bit cleaner than yielding it and having the caller throw an
exception trying to treat it as a message.

4 years agoReturn error trace in LifetimeTimeout
Bob Halley [Sat, 24 Apr 2021 18:04:28 +0000 (11:04 -0700)] 
Return error trace in LifetimeTimeout

4 years agoAdd entries to the resolution errors list in a few error cases that were omitted.
Bob Halley [Fri, 23 Apr 2021 22:26:33 +0000 (15:26 -0700)] 
Add entries to the resolution errors list in a few error cases that were omitted.

4 years agoAdd new test data to manifest
Bob Halley [Thu, 22 Apr 2021 12:31:34 +0000 (05:31 -0700)] 
Add new test data to manifest

4 years agoMerge pull request #659 from bwelling/svcb-updates
Bob Halley [Thu, 22 Apr 2021 12:29:07 +0000 (05:29 -0700)] 
Merge pull request #659 from bwelling/svcb-updates

Update SVCB to the current spec.

4 years agoUpdate SVCB to the current spec. 659/head
Brian Wellington [Thu, 22 Apr 2021 00:22:40 +0000 (17:22 -0700)] 
Update SVCB to the current spec.

4 years agoFix repr() of GSS-TSIG key [Issue #657]
Bob Halley [Sat, 17 Apr 2021 13:57:31 +0000 (06:57 -0700)] 
Fix repr() of GSS-TSIG key [Issue #657]

4 years agono codecov
Bob Halley [Fri, 16 Apr 2021 21:27:43 +0000 (14:27 -0700)] 
no codecov

4 years agofinish fixing nanonameserver handle(), and test it before committing :)
Bob Halley [Wed, 14 Apr 2021 16:09:12 +0000 (09:09 -0700)] 
finish fixing nanonameserver handle(), and test it before committing :)

4 years agofix function signature and documentation of handle() method
Bob Halley [Wed, 14 Apr 2021 15:52:44 +0000 (08:52 -0700)] 
fix function signature and documentation of handle() method

4 years agoMerge pull request #652 from tuxillo/patch-1
Bob Halley [Tue, 23 Mar 2021 00:32:01 +0000 (17:32 -0700)] 
Merge pull request #652 from tuxillo/patch-1

Fix typo

4 years agoFix typo 652/head
Antonio Huete Jimenez [Mon, 22 Mar 2021 23:11:54 +0000 (00:11 +0100)] 
Fix typo

4 years agoFix AMTRELAY type code.
Brian Wellington [Tue, 16 Mar 2021 18:29:10 +0000 (11:29 -0700)] 
Fix AMTRELAY type code.

4 years agoMerge pull request #649 from rthalley/processing_order_fix
Bob Halley [Tue, 9 Mar 2021 19:00:29 +0000 (11:00 -0800)] 
Merge pull request #649 from rthalley/processing_order_fix

Add missing dns.rdtypes.util imports [Issue #648].

4 years agoAdd missing dns.rdtypes.util imports [Issue #648]. 649/head
Bob Halley [Tue, 9 Mar 2021 15:52:22 +0000 (07:52 -0800)] 
Add missing dns.rdtypes.util imports [Issue #648].

4 years agoMerge pull request #645 from rthalley/windows_asyncio_fix
Bob Halley [Fri, 26 Feb 2021 19:00:20 +0000 (11:00 -0800)] 
Merge pull request #645 from rthalley/windows_asyncio_fix

asyncio on Windows requries connected sockets.  [Issue #637]

4 years agoMerge pull request #646 from bwelling/zonemd
Bob Halley [Thu, 25 Feb 2021 22:32:29 +0000 (14:32 -0800)] 
Merge pull request #646 from bwelling/zonemd

ZONEMD support

4 years agoMerge pull request #647 from kimbo/patch-1
Bob Halley [Thu, 25 Feb 2021 22:30:30 +0000 (14:30 -0800)] 
Merge pull request #647 from kimbo/patch-1

remove extra slash so link works

4 years agoAdd custome exceptions. 646/head
Brian Wellington [Thu, 25 Feb 2021 20:47:02 +0000 (12:47 -0800)] 
Add custome exceptions.

4 years agoTest a non-relativized zone.
Brian Wellington [Thu, 25 Feb 2021 19:11:36 +0000 (11:11 -0800)] 
Test a non-relativized zone.

4 years agoremove extra slash so link works 647/head
Kimball Leavitt [Thu, 25 Feb 2021 18:52:19 +0000 (11:52 -0700)] 
remove extra slash so link works

4 years agoAdd more tests.
Brian Wellington [Thu, 25 Feb 2021 18:43:05 +0000 (10:43 -0800)] 
Add more tests.

zone.compute_digest() didn't actually work.  It does now.

4 years agoasyncio on Windows requries connected sockets. [Issue #637] 645/head
Bob Halley [Thu, 25 Feb 2021 16:55:15 +0000 (08:55 -0800)] 
asyncio on Windows requries connected sockets.  [Issue #637]

4 years agoCheckpoint ZONEMD support.
Brian Wellington [Wed, 24 Feb 2021 18:15:46 +0000 (10:15 -0800)] 
Checkpoint ZONEMD support.

4 years agoMerge pull request #638 from rthalley/dependabot/pip/mypy-tw-0.812
Bob Halley [Fri, 19 Feb 2021 23:54:55 +0000 (15:54 -0800)] 
Merge pull request #638 from rthalley/dependabot/pip/mypy-tw-0.812

Update mypy requirement from ^0.800 to ^0.812

4 years agoUpdate mypy requirement from ^0.800 to ^0.812 638/head
dependabot[bot] [Fri, 19 Feb 2021 22:31:01 +0000 (22:31 +0000)] 
Update mypy requirement from ^0.800 to ^0.812

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.800...v0.812)

Signed-off-by: dependabot[bot] <support@github.com>
4 years agoMerge pull request #635 from KOLANICH-libs/setup.cfg
Bob Halley [Fri, 19 Feb 2021 22:29:31 +0000 (14:29 -0800)] 
Merge pull request #635 from KOLANICH-libs/setup.cfg

Moved the metadata into setup.cfg from setup.py.

4 years agoMerge pull request #634 from bwelling/refactor-dnssec
Bob Halley [Thu, 18 Feb 2021 18:05:54 +0000 (10:05 -0800)] 
Merge pull request #634 from bwelling/refactor-dnssec

DNSSEC refactoring.

4 years agoMerge pull request #636 from kimbo/kl/zone-contains
Bob Halley [Thu, 18 Feb 2021 17:46:20 +0000 (09:46 -0800)] 
Merge pull request #636 from kimbo/kl/zone-contains

make `name in zone` consistent with `zone[name]`

4 years agomake `name in zone` consistent with `zone[name]` 636/head
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

4 years agoMoved the metadata into setup.cfg from setup.py. 635/head
KOLANICH [Tue, 16 Feb 2021 10:59:07 +0000 (13:59 +0300)] 
Moved the metadata into setup.cfg from setup.py.
Fixed the dependency on poetry instead of poetry-core in pyproject.toml.
Fetching the version from git tags now when using setuptools (for poetry we cannot do that currently, see https://github.com/python-poetry/poetry/issues/693).

4 years agoDNSSEC refactoring. 634/head
Brian Wellington [Fri, 12 Feb 2021 22:02:48 +0000 (14:02 -0800)] 
DNSSEC refactoring.

Reorders some of the operations related to RRSIG validation.  The net
effects here are that the code performs all of the parts of validation
that are not specific to the keys first before the parts that are
specific to keys (and need to be repeated for each key).

This also fixes the inconsistency that if there are multiple keys that
match an RRSIG, a single malformed key would lead to an exception, but a
signle failed signature validation would not.  In both cases, an
exception should only be raised if no keys successfully validate the
RRSIG.

4 years agoMerge pull request #633 from kimbo/kl/doc-fix
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

4 years agochange fname to name 633/head
kimbo [Thu, 11 Feb 2021 19:44:08 +0000 (12:44 -0700)] 
change fname to name

4 years agoasync StreamSockets were erronously subclassing the abstract DatagramSocket
Bob Halley [Sun, 31 Jan 2021 22:52:13 +0000 (14:52 -0800)] 
async StreamSockets were erronously subclassing the abstract DatagramSocket

4 years agoAbstract methods should raise NotImplementedError, not return None
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.

4 years agoMerge pull request #627 from rthalley/dependabot/pip/mypy-tw-0.800
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

4 years agoMerge pull request #625 from peterthomassen/20200118_dsbase_digest_length
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

4 years agoUpdate mypy requirement from ^0.790 to ^0.800 627/head
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>
4 years agoEnsure that DS digest length is consistent with digest type 625/head
Peter Thomassen [Mon, 18 Jan 2021 16:59:06 +0000 (17:59 +0100)] 
Ensure that DS digest length is consistent with digest type

4 years agoAdd missing items to rdtypes/ANY/__init__.py
Bob Halley [Wed, 13 Jan 2021 22:16:08 +0000 (14:16 -0800)] 
Add missing items to rdtypes/ANY/__init__.py

4 years agoMerge pull request #624 from peterthomassen/patch-1
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

4 years agoAdd missing items to rdtypes/IN/__init__.py 624/head
Peter Thomassen [Wed, 13 Jan 2021 15:57:41 +0000 (16:57 +0100)] 
Add missing items to rdtypes/IN/__init__.py

4 years agoMerge pull request #623 from rthalley/dependabot/pip/trio-gte-0.14-and-lt-0.19
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

4 years agoUpdate trio requirement from >=0.14,<0.18 to >=0.14,<0.19 623/head
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>
4 years agoInclude any pickles in tests directory [Issue #622].
Bob Halley [Fri, 8 Jan 2021 12:48:14 +0000 (04:48 -0800)] 
Include any pickles in tests directory [Issue #622].

4 years agopost 2.1.0 versioning
Bob Halley [Thu, 7 Jan 2021 17:28:21 +0000 (09:28 -0800)] 
post 2.1.0 versioning

4 years agoremove obsolete download URL; add 3.9 classifier v2.1.0
Bob Halley [Thu, 7 Jan 2021 16:36:41 +0000 (08:36 -0800)] 
remove obsolete download URL; add 3.9 classifier

4 years agoupdate README for 2.1.0
Bob Halley [Thu, 7 Jan 2021 16:32:46 +0000 (08:32 -0800)] 
update README for 2.1.0

4 years agoSet 2.1.0 version.
Bob Halley [Thu, 7 Jan 2021 12:24:33 +0000 (04:24 -0800)] 
Set 2.1.0 version.

4 years agoMerge pull request #617 from peterthomassen/master
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

4 years agoPass kw from dns.rdata.to_text to _hexify and _base64ify 617/head
Peter Thomassen [Tue, 29 Dec 2020 17:25:22 +0000 (18:25 +0100)] 
Pass kw from dns.rdata.to_text to _hexify and _base64ify

4 years agouse methods with appropriate rcode/opcode typecasting in Message.to_text()
Bob Halley [Mon, 4 Jan 2021 22:34:45 +0000 (14:34 -0800)] 
use methods with appropriate rcode/opcode typecasting in Message.to_text()

4 years agoCast flags and ednsflags to int when calling dns.rcode.from_flags() and
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.

4 years ago_WireReader.read() should make flags a dns.flags.Flag [Issue #606]
Bob Halley [Mon, 4 Jan 2021 20:17:36 +0000 (12:17 -0800)] 
_WireReader.read() should make flags a dns.flags.Flag [Issue #606]

4 years agoAdd missing base classes to __init__.
Bob Halley [Mon, 4 Jan 2021 16:40:16 +0000 (08:40 -0800)] 
Add missing base classes to __init__.

4 years agoMerge pull request #616 from timgates42/bugfix_typo_translation
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

4 years agodocs: fix simple typo, transation -> translation 616/head
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`.

4 years agoMerge pull request #614 from rthalley/resolve_chaining
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.

4 years agoChange ChainingResult "rrset" to "answer"; fix typo. 614/head
Bob Halley [Mon, 21 Dec 2020 19:43:19 +0000 (11:43 -0800)] 
Change ChainingResult "rrset" to "answer"; fix typo.

4 years agoresolve_chaining() now returns a ChainingResult object.
Bob Halley [Mon, 21 Dec 2020 15:39:08 +0000 (07:39 -0800)] 
resolve_chaining() now returns a ChainingResult object.

4 years agoresolve_chaining() should not go into an infinite loop if the qtype is
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].

5 years agoAdd a test of a TSIG-signed AXFR of the root.
Brian Wellington [Wed, 25 Nov 2020 18:55:42 +0000 (10:55 -0800)] 
Add a test of a TSIG-signed AXFR of the root.

5 years agoMerge pull request #609 from salzmdan/master
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

5 years agoTSIG: don't relativize algorithm name 609/head
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

5 years agoDo not test override with default resolver if there is no Internet.
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.