summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add names iteration to transactions via iterate_names().txn-namesBob Halley2023-03-124-13/+58
| | | | | Also make rdataset iteration more obvious by adding an explicit iterate_rdatasets() API.
* lintBob Halley2023-03-121-25/+26
|
* add Bitmap.from_rdtypes() (#906)Jakob Schlyter2023-03-101-5/+10
| | | | | | | | | | | * add `Bitmap.from_rdtypes()` and add missing typing * more typing * add missing import * add more typing * fix tok type
* Add dns.resolver.resolve_name(). (#903)Brian Wellington2023-03-104-35/+289
| | | | | | | | | | | | | * Add dns.resolver.resolve_name(). * Add missing type annotations. * Add async resolve_name(). * Replace List[Answer] with HostAnswers. * Switch addresses_and_families() tuple order * Fix comment.
* Remove the DSA signature test, as it can fail in certainBob Halley2023-03-071-8/+2
| | | | | OpenSSL 3 with the FIPS 140-3 module, as the module will not generate keys with a "q" size that is representable in DNSSEC.
* Fix hangs when QUIC connection fails [#899]. (#900)Bob Halley2023-03-023-35/+62
| | | | | This also fixes problems with computing the wait_for() timeout for the sync and asyncio ports, and fixes delivery of the timeout for the sync port.
* Make a few nameserver changes that missed getting added to the PR.Bob Halley2023-02-253-10/+16
|
* Resolver "nameserver" object support. (#897)Bob Halley2023-02-2510-149/+566
| | | | | | | | | | | | | | | | | | | | | | | | | * Resolver "nameserver" object support. This turns the list of nameserver strings in the resolver into a tuple of nameserver objects, which abstract away making queries to a nameserver of a given type. The resolver's legacy nameserver list is "enriched" into a tuple of nameserver objects whenever it is set. Note that you cannot mutate the object other than by setting, e.g. res.nameservers.append("1.2.3.4") will not work. Error message accumulation has been updated to refer to the nameservers using a descriptive text form. * doco fix * more doco fixes * do enrichment at Resolution time * require a later mypy, fix type issues * add nameserver doc
* Fix typos.Brian Wellington2023-02-173-3/+3
|
* Add dns.quic to setup.cfg for legacy setup.py installs [#896]Bob Halley2023-02-111-0/+1
|
* Bump sphinx-rtd-theme from 1.1.1 to 1.2.0 (#894)dependabot[bot]2023-02-081-1/+1
| | | | | | | | | | | | | | | | Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.1.1 to 1.2.0. - [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases) - [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst) - [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.1.1...1.2.0) --- updated-dependencies: - dependency-name: sphinx-rtd-theme dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add more minor typehints (#889)Mathias Ertl2023-02-051-15/+17
|
* Update black requirement from ^22.1.0 to ^23.1.0 (#892)dependabot[bot]2023-02-011-1/+1
| | | | | | | | | | | | | | | Updates the requirements on [black](https://github.com/psf/black) to permit the latest version. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.1.0...23.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump readthedocs-sphinx-search from 0.1.2 to 0.2.0 (#891)dependabot[bot]2023-01-251-1/+1
| | | | | | | | | | | | | | | | | | Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.2 to 0.2.0. - [Release notes](https://github.com/readthedocs/readthedocs-sphinx-search/releases) - [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst) - [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/commits) --- updated-dependencies: - dependency-name: readthedocs-sphinx-search dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* The DS digest_type field is now made a DSDigest instance by the constructor ↵Dennis Værum2023-01-251-1/+1
| | | | | | | | | | (#890) Hey @rthalley I found another place in the code there, you may have gotten "distracted" 😉 as you phrased it in https://github.com/rthalley/dnspython/issues/888#issuecomment-1402198449 So, I just made a pull request this time
* The DNSKEY flags field is now made a Flag instance by the constructor.Bob Halley2023-01-241-1/+1
|
* More doco updates for 2.4Bob Halley2023-01-182-10/+15
|
* Add missing quic files to setup.py cythonize [#887].Bob Halley2023-01-181-1/+2
|
* Add deprecation note about the Resolver nameserver attribute.Bob Halley2023-01-152-3/+15
|
* Make Coverity happier [#882].Bob Halley2023-01-121-0/+4
|
* Use 'https' instead of 'http' for dnspython.org (#883)Rafael Guterres Jeffman2023-01-115-8/+8
| | | | | | | | These days, 'https' should be used instead of 'http' for almost anything, and Coverity is warning that dnspython.org URL in 'setup.cfg' uses 'http'. This patch changes the use of 'http' to 'https' on setup.cfg and documentation, where it does not affect module code, tests or examples.
* remove obsolete lgtm linkBob Halley2023-01-021-1/+0
|
* Remove obsolete comment (#873)sblondon2023-01-021-7/+1
|
* Update cryptography requirement from >=2.6,<39.0 to >=2.6,<40.0 (#878)dependabot[bot]2023-01-021-1/+1
| | | | | | | | | | | | | | | | | Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/2.6...39.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update SECURITY.md to 2.3.xBob Halley2022-12-271-1/+1
|
* Update versions and CI post 2.3 branch.Bob Halley2022-12-276-6/+7
|
* update whatsnewBob Halley2022-12-231-1/+3
|
* lintBob Halley2022-12-231-3/+5
|
* DNSSEC doco fixes.Bob Halley2022-12-232-5/+11
|
* CDS/CDNSKEY utilities (#872)Jakob Schlyter2022-12-232-11/+349
| | | | | | | | | | | Add CDS and CDNSKEY utilities: make_cdnskey() make_cds() make_ds_rdataset() cds_rdataset_to_ds_rdataset() dnskey_rdataset_to_cds_rdataset() dnskey_rdataset_to_cdnskey_rdataset()
* Update pocov Makefile rule for coverage 7.0.0.Bob Halley2022-12-201-2/+2
|
* Update coverage requirement from ^6.0 to ^7.0 (#874)dependabot[bot]2022-12-201-1/+1
| | | | | | | | | | | | | | | | | Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/6.0...7.0.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix async quic() doco.Bob Halley2022-12-161-1/+1
|
* Properly pass source and source_port to connect() in the sync version of quic().Bob Halley2022-12-161-3/+3
|
* Fix misc. lint.Bob Halley2022-12-167-13/+22
|
* Remove unsupported python case (#871)sblondon2022-12-161-4/+1
|
* DNSSEC policy. (#869)Bob Halley2022-12-153-28/+199
|
* add DNSSEC sign() to whatsnewBob Halley2022-12-131-0/+2
|
* add sign and make_dnskey functions (#868)Jakob Schlyter2022-12-131-2/+3
|
* Improve DNSSEC _doco, minor DNSSEC and typing tweaks.Bob Halley2022-12-125-36/+25
|
* DNSSEC signer (#866)Jakob Schlyter2022-12-123-39/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * first cut at key_to_dnskey * update docs * typo * use real test vectors for DNSKEY * comment * split * add test for large exponent size * rename to make_dnskey * no default algorithm * rename and add comment * split out function to create rrsig signature data * docs * add type for public key * more typing * make RSA exponent key test easier to read * work in progress for dns.dnssec.sign * better docs * docs * simplify * add test with RSASHA1 * initial support for DSA * update docs * clean up DSA, t still not clear * allow inception/expiration to be specified as datetime, string, float or in * allow rrset to be specified as a tuple * calculate dsa_t * reformat * more rrset tuple fixes * support DSA * improve exception handling * fix return type error * fix typing issue to silence mypy * make test case more verbose * ensure UTC and use sigtime_to_posixtime to convert text to timestamp
* Add NSEC3 RFC to doco.Bob Halley2022-12-091-0/+3
|
* Add more DNSSEC RFCs.Bob Halley2022-12-071-0/+6
|
* One more RFC text tweak.Bob Halley2022-11-301-1/+1
|
* More RFC updates.Bob Halley2022-11-301-2/+10
|
* More whatsnew updates.Bob Halley2022-11-301-0/+13
|
* Merge pull request #863 from rbrins/masterBob Halley2022-11-301-1/+1
|\ | | | | changed docs dns.resolver.Answer response to QueryMessage
| * changed docs dns.resolver.Answer response to QueryMessageRussell2022-11-291-1/+1
|/
* Basic SVCB and HTTPS doco.Bob Halley2022-11-272-1/+113
|
* Add some more RFCs.Bob Halley2022-11-271-4/+22
|