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>