* dns.query.https() and dns.asyncquery.https() now support
HTTP/3 and the http_version parameter may be used to specify
which version to use.
* If the cryptography module is installed, then dnspython will
now create deterministic ECDSA signatures by default.
* The RESINFO and WALLET RdataTypes are now supported.
* The COOKIE and Report-Channel EDNS0 options are now supported.
* All supported RdataTypes can now be imported at a single time
rather than lazily on first use by calling
dns.rdata.load_all_types().
* The SVCB and HTTPS records now support the ohttp parameter.
* xfr() and inbound_xfr() now share a common implementation.
* Tokens are now supported for QUIC and HTTP/3.
* dns.message.from_wire() now saves the input wire format in the
Message’s “wire” attribute. Likewise,
dns.message.Message.to_wire() now records the generated wire
format in that attribute.
* The dns.message.Message object now has a get_options() helper
to retrieve EDNS0 options of a specified type, and an
extended_errors() helper to retrieve the list of EDE options
in a message (if any).
* dns.message.make_response() now has a copy mode which controls
how sections are copied. By default, a copy mode appropriate
for the opcode is used.
This is currently dns.message.CopyMode.QUESTION for all opcodes
* If an IP address is used as the hostname in a URL, the https
query code now passes the sni_hostname to httpx as this is
required to get httpx to validate the certificate and check for
an IP subject alternative name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=78
- Update to version 2.3.0
* The get_soa() method has been added to dns.zone.Zone.
* The minimum TLS version is now 1.2.
* EDNS padding is now supported. Messages with EDNS enabled and
with a non-zero pad option will be automatically padded
appropriately when converted to wire format.
* dns.zone.from_text() and dns.zone.from_file() now have an
allow_directives parameter to allow finer control over how
directives in zonefiles are processed.
* A preliminary implementation of DNS-over-QUIC has been added,
and will be available if the aioquic library is present. See
dns.query.quic(), dns.asyncquery.quic(), and examples/doq.py
for more info. This API is subject to change in future releases
For asynchronous I/O, both asyncio and Trio are supported,
but Curio is not.
* DNSSEC signing support has been added to the dns.dnssec module,
along with a number of functions to help generate DS, CDS, and
CDNSKEY RRsets.
* Curio asynchronous I/O support is deprecated as of this release
and will be removed in a future release.
* The resolver object’s nameserver field is planned to become a
property in dnspython 2.4. Writing to this field other than by
direct assignment is deprecated, and so is depending on the
mutability and form of the iterable returned when it is read.
OBS-URL: https://build.opensuse.org/request/show/1063213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=35
- update to version 2.1.0:
* End-of-line comments are now associated with rdata when read from text.
For backwards compatibility with prior versions of dnspython, they are
only emitted in to_text() when requested.
* Synchronous I/O is a bit more efficient, as we now try the I/O and only
use poll() or select() if the I/O would block.
* The resolver cache classes now offer basic hit and miss statistics, and
the LRUCache can also provide hits for every cache key.
* The resolver has a canonical_name() method.
* There is now a registration mechanism for EDNS option types.
* The default EDNS payload size has changed from 1280 to 1232.
* The SVCB, HTTPS, and SMIMEA RR types are now supported.
* TSIG has been enhanced with TKEY and GSS-TSIG support. Thanks to
Nick Hall for writing this.
* Zones now can be updated via transactions.
* A new zone subclass, dns.versioned.Zone is available which has a
thread-safe transaction implementation and support for keeping many
versions of a zone.
* The zone file reading code has been adapted to use transactions, and
is now a public API.
* Inbound zone transfer support has been rewritten and is available as
dns.query.inbound_xfr() and dns.asyncquery.inbound_xfr(). It uses
the transaction mechanism, and fully supports IXFR and AXFR.
OBS-URL: https://build.opensuse.org/request/show/861794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=30
- Package LICENSE, use proper upstream URL
- Run testsuite
- Cleanup macro usage
- update to 1.11.0:
* TLSA RR support
* Added set_flags() method to dns.resolver.Resolver
* Names with offsets >= 2^14 are no longer added to the compression
table.
* The "::" syntax is not used to shorten a single 16-bit section of
the text form an IPv6 address.
* Empty rdatasets are not printed.
* DNSKEY key tags are no longer assumed to be unique.
OBS-URL: https://build.opensuse.org/request/show/183064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dnspython?expand=0&rev=14
# remove tests that require a working resolver and external DNS resolution
rmtests/test_async.py
rmtests/test_doh.py
rmtests/test_resolver.py
rmtests/test_resolver_override.py
# remove dnssec related tests since those require an openssl version with
# support for supports "ECDSA with deterministic signature (RFC 6979)"
# https://github.com/pyca/cryptography/pull/10369
# TODO: reenable once TW ships openssl >= 3.2.0
rmtests/test_dnssec.py
rmtests/test_dnssecalgs.py
%pytest
%endif
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.