|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 2.2.0:
- SVCB and HTTPS records have been updated to track the evolving
draft standard.
- The ZONEMD type has been added.
- The resolver now returns a LifetimeTimeout exception which
includes an error trace like the NoNameservers exception. This
class is a subclass of dns.exception.Timeout for backwards
compatibility.
- DNS-over-HTTPS will try to use HTTP/2 if the httpx and h2
packages are installed.
- DNS-over-HTTPS is now supported for asynchronous queries and
resolutions.
- dns.zonefile.read_rrsets() has been added, which allows rrsets
in zonefile format, or a restrition of it, to be read. This
function is useful for applications that want to read DNS data
in text format, but do not want to use a Zone.
- On Windows systems, if the WMI module is available, the resolver
will retrieve the nameserver from WMI instead of trying to
figure it out by reading the registry. This may lead to more
accurate results in some cases.
- The CERT rdatatype now supports certificate types IPKIX, ISPKI,
IPGP, ACPKIX, and IACPKIX.
- The CDS rdatatype now allows digest type 0.
- Dnspython zones now enforces that a node is either a CNAME node
or an "other data" node. A CNAME node contains only CNAME,
RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, or RRSIG(NSEC3) rdatasets.
An "other data" node contains any rdataset other than a CNAME or
RRSIG(CNAME) rdataset. The enforcement is "last update wins". For
example, if you have a node which contains a CNAME rdataset, and
then add an MX rdataset to it, then the CNAME rdataset will be
deleted. Likewise if you have a node containing an MX rdataset
and add a CNAME rdataset, the MX rdataset will be deleted.
- Extended DNS Errors, as specified in RFC 8914, are now supported.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
|
|
Upgrade to release 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.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|