Releases: hickory-dns/hickory-dns
Releases · hickory-dns/hickory-dns
v0.21.0-alpha.1
0.21.0 (unreleased)
Added
- (client) new
zone_transfer
method forAXFR
andIXFR
use cases, client only (@trinity-1686a) #1478 - (client) Flag for
use_edns
configuration onAsyncClient
(@astro) #1492 - (client) support for
TSIG
authentication (@trinity-1686a) #1459
Changed
- (resolver) on
REFUSED
(and other negative) response(s), fall back to other nameservers (@peterthejohnston) #1513 #1526 - (client) the feature
dnssec
is no longer enabled by default, usednssec-ring
ordnssec-openssl
#1506 - (server) dnssec functions of
Authority
moved intoDnsSecAuthority
#1506 - (all) Most public enum types are now marked
#[non_exaustive]
#1426 - (resolver) DnsRequestOptions and ResolverOpts now
#[non_exaustive]
#1426 - (proto) all I/O Streams now use
BufDnsStreamHandle
rather than genericDnsStreamHandle
#1433 - (proto)
DnsResponse
response now contains only a single Response #1433 - (proto)
Name::append_name
andName::append_domain
now properly fallible when name is too long #1448 - (resolver) special handling of the
onion.
TLD added to static resolution with negative responses (@trinity-1686a) #1479 - (proto) internal Futures converted to Streams to support multiple responses, e.g.
AXFR
(@trinity-1686a) #1478 - (proto) renamed
Signer
toSigSigner
to differentiate fromTSigner
#1498
Removed
- (proto) removed
RecordType::DNSSEC
and moved all variants ofDNSSECRecordType
intoRecordType
#1506 - (proto) removed
BufStreamHandle
andStreamHandle
#1433 - (response) disabled
mdns
to work on a new solution #1433
Fixed
- (proto) Panic when name exceeds maximal domain name length during display #1447
v0.20.3 with fix for Windows build
Fix panic in SVCB
Name parsing improvements
0.20.1
Added
- (proto) HINFO record type support (@vlad20012) #1361
- (proto) proto: add into_parts methods (@leshow) #1397
- (proto) new HTTPS and SVCB record types #1402
- (resolver) predefined Quad9 HTTPS resolver configuration (@zonyitoo) #1413
Fixed
- (proto) Don't kill a DnsExchangeBackground if a receiver is gone (see #1276) (@djc) #1356
- (proto) Take the current header truncated bit into account (@ilaidlaw) #1384
Changed
- (async-std-resolver) Re-export AsyncStdConnection(Provider) (@romanb) #1354
- (proto) Mutate edns & remove edns options (@leshow) #1363
- (proto) Change Edns set_* to -> &mut Self (@leshow) #1369
- (resolver) Enable RuntimeProvider in DoT implementations (@chengyuhui) #1373
- (proto) Optimize name parsing (@saethlin) #1388
- (proto) Remove a lot of bounds checks in BinDecoder by tracking position with a second slice (@saethlin) #1399
- (proto) Make errors/error reporting more lightweight (@saethlin) #1409
Make backtrace optional (back port from 0.20)
v0.20.0 with Tokio 1.0 support
0.20.0
Changed
- (all) upgraded to Tokio 1.0 (@messense) #1330 (0.3 updates in #1262)
- (proto) Add serde support for the RecordType in the proto crate (@LEXUGE) #1319
- (https) dns_hostname args all are
Arc<str>
rather thanArc<String>
, useArc::from
- (proto) Set TCP_NODELAY when building a TCP connection (@djc) #1249
- (all) BREAKING The
UdpSocket
trait has grown an associatedTime
type. - (all) BREAKING The
Connect
trait has lost its
Transport
associated type, instead relying on theSelf
type. - (all) BREAKING Introduced a new
DnsTcpStream
trait, which is now a
bound for implementing theConnect
trait. - (resolver) BREAKING Move
CachingClient
fromlookup_state
tocaching_client
module - (resolver) BREAKING Move
ResolverOpts::distrust_nx_responses
toNameServerConfig::trust_nx_responses
(@djc) #1212 - (proto)
data-encoding
is now a required dependency #1208 - (all) minimum rustc version now
1.45
- (resolver) For all NxDomain and NoError/NoData responses,
ResolveErrorKind::NoRecordsFound
will be returned #1197 - (server) Support for lowercase DNSClass and RecordType fields in zonefiles (@zhanif3) #1186
- (resolver) Make EDNS optional for resolvers (@CtrlZvi) #1173
- (all) Fully support ring for all DNSSEC operations. #1145
- (all) No more
master
(branch, moved tomain
) slave, in honor of Juneteenth #1141 - (all) Minimize
futures
dependencies (@JohnTitor) #1109 - (proto) increases the UDP buffer size from 2048 to 4096 to allow larger payloads (@DevQps) #1096
- (resolver) use IntoName trait on synchronous resolver interface (@krisztian-kovacs) #1095
- (resolver) BREAKING removed async for
AsyncResolver::new
(@balboah) #1077 #1056 - (server) BREAKING removed
Runtime
fromServerFuture::register_socket
(@LucioFranco) #1088 #1087 - (proto) Breaking Adjust the return value from
ResponseCode::high
from u16 to u8 #1202
Fixed
- (client) Support reading the root hints file (@mattias-p) #1261
- (resolver) Fix Glue records resolving (@wavenator) #1188
- (resolver) Only fall back on TCP if cons are available (@lukaspustina) #1181
- (proto) fix empty option at end of edns (@jonasbb) #1143, #744
- (resolver) Return
REFUSED
instead ofNXDOMAIN
when server is not an authority (@AnIrishDuck) #1137 - (resolver) forwarder: return NXDomain on
e.is_nx_domain()
(@balboah) #1123 - (resolver) Regards NXDomain and NoError empty responses as errors (continues searching for records), #1086 #933
Added
- (util) new Add resolve.rs as CLI for trust-dns-resolver #1208
- (proto) Added proper zone display to all RData as an impl of Display #1208
- (proto)
xfer::dns_response::NegativeType
andDnsResponse::negative_type
to classify negative response type #1197 - (proto)
DnsResponse::contains_answer
to determine if a response message has data related to the query #1197 - (proto)
RecordType::is_soa
andRecordType::is_ns
to easily check for these types #1197 - (proto)
Message::all_sections
to allow iteration over allRecords
in all sections in a Message #1197 - (proto)
Message::take_queries
to remove from a Message without requiring clone #1197 - (proto)
DnsHandle::Error
associated type to support generic errors across trust-dns libraries #1197 - (resolver) Add support for tlsa RRs in trust_dns_resolver (@smutt) #1189
- (resolver) Support pointer ending label compression (@jacoblin1994) #1182
- (proto) Keep OS error information on
io::Error
(@brunowonka) #1163 - (proto) Support mDNS cache-flush bit (@fluxxu) #1144
- (proto) Allow creating TXT Rdata with binary data (@bltavares) #1125
- (proto) Add mutable access to Message fields (@leshow) #1118
- (proto) Add Name.parse_ptr_name, to IP address (@Mygod) #1107
- (resolver) Allow HTTPS to be generic over Runtime (@balboah) #1077 #1074
0.19.6: Update resolv-conf to 0.7
0.20.0-alpha.3 (see previous alphas for full changelog)
Changed
- (proto) Set TCP_NODELAY when building a TCP connection (@djc) #1249
- (all) BREAKING The
UdpSocket
trait has grown an associatedTime
type. - (all) BREAKING The
Connect
trait has lost its
Transport
associated type, instead relying on theSelf
type. - (all) BREAKING Introduced a new
DnsTcpStream
trait, which is now a
bound for implementing theConnect
trait. - (resolver) BREAKING Move
CachingClient
fromlookup_state
tocaching_client
module - (resolver) BREAKING Move
ResolverOpts::distrust_nx_responses
toNameServerConfig::trust_nx_responses
(@djc) #1212 - (proto)
data-encoding
is now a required dependency #1208
Fixed
- (client) Support reading the root hints file (@mattias-p) #1261
Added
v0.20.0-alpha.2
0.20.0 (unreleased) see previous release notes for all 0.20.0 changes
Changed
- (all) minimum rustc version now
1.42
- (resolver) For all NxDomain and NoError/NoData responses,
ResolveErrorKind::NoRecordsFound
will be returned #1197 - (proto) Breaking Adjust the return value from
ResponseCode::high
from u16 to u8 #1202
Added
- (proto)
xfer::dns_response::NegativeType
andDnsResponse::negative_type
to classify negative response type #1197 - (proto)
DnsResponse::contains_answer
to determine if a response message has data related to the query #1197 - (proto)
RecordType::is_soa
andRecordType::is_ns
to easily check for these types #1197 - (proto)
Message::all_sections
to allow iteration over allRecords
in all sections in a Message #1197 - (proto)
Message::take_queries
to remove from a Message without requiring clone #1197 - (proto)
DnsHandle::Error
associated type to support generic errors across trust-dns libraries #1197
0.20.0-alpha.1
0.20.0 (unreleased)
Changed
- (server) Support for lowercase DNSClass and RecordType fields in zonefiles (@zhanif3) #1186
- (resolver) Make EDNS optional for resolvers (@CtrlZvi) #1173
- (all) Fully support ring for all DNSSEC operations. #1145
- (all) No more
master
(branch, moved tomain
) slave, in honor of Juneteenth #1141 - (all) Minimize
futures
dependencies (@JohnTitor) #1109 - (proto) increases the UDP buffer size from 2048 to 4096 to allow larger payloads (@DevQps) #1096
- (resolver) use IntoName trait on synchronous resolver interface (@krisztian-kovacs) #1095
- (resolver) BREAKING removed async for
AsyncResolver::new
(@balboah) #1077 #1056 - (server) BREAKING removed
Runtime
fromServerFuture::register_socket
(@LucioFranco) #1088 #1087
Fixed
- (resolver) Fix Glue records resolving (@wavenator) #1188
- (resolver) Only fall back on TCP if cons are available (@lukaspustina) #1181
- (proto) fix empty option at end of edns (@jonasbb) #1143, #744
- (resolver) Return
REFUSED
instead ofNXDOMAIN
when server is not an authority (@AnIrishDuck) #1137 - (resolver) forwarder: return NXDomain on
e.is_nx_domain()
(@balboah) #1123 - (resolver) Regards NXDomain and NoError empty responses as errors (continues searching for records), #1086 #933
Added
- (resolver) Add support for tlsa RRs in trust_dns_resolver (@smutt) #1189
- (resolver) Support pointer ending label compression (@jacoblin1994) #1182
- (proto) Keep OS error information on
io::Error
(@brunowonka) #1163 - (proto) Support mDNS cache-flush bit (@fluxxu) #1144
- (proto) Allow creating TXT Rdata with binary data (@bltavares) #1125
- (proto) Add mutable access to Message fields (@leshow) #1118
- (proto) Add Name.parse_ptr_name, to IP address (@Mygod) #1107
- (resolver) Allow HTTPS to be generic over Runtime (@balboah) #1077 #1074