Skip to content

Releases: hickory-dns/hickory-dns

v0.21.0-alpha.1

10 Aug 00:52
Compare
Choose a tag to compare
v0.21.0-alpha.1 Pre-release
Pre-release

0.21.0 (unreleased)

Added

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, use dnssec-ring or dnssec-openssl #1506
  • (server) dnssec functions of Authority moved into DnsSecAuthority #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 generic DnsStreamHandle #1433
  • (proto) DnsResponse response now contains only a single Response #1433
  • (proto) Name::append_name and Name::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 to SigSigner to differentiate from TSigner #1498

Removed

  • (proto) removed RecordType::DNSSEC and moved all variants of DNSSECRecordType into RecordType #1506
  • (proto) removed BufStreamHandle and StreamHandle #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

15 May 21:07
Compare
Choose a tag to compare

0.20.3

Fixed

  • (resolver) Fix Windows build without system-config feature (@stephank) #1481

Fix panic in SVCB

20 Apr 20:21
Compare
Choose a tag to compare

0.20.2

Fixed

  • (proto) Panic on bad length in SVCB for record length #1465

Name parsing improvements

16 Mar 02:11
Compare
Choose a tag to compare

0.20.1

Added

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)

10 Mar 01:57
Compare
Choose a tag to compare

0.19.7

Changed

  • make backtrace an optional dependency, backported from 0.20 (@jmagnuson) #1387

v0.20.0 with Tokio 1.0 support

29 Dec 21:37
Compare
Choose a tag to compare

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 than Arc<String>, use Arc::from
  • (proto) Set TCP_NODELAY when building a TCP connection (@djc) #1249
  • (all) BREAKING The UdpSocket trait has grown an associated Time type.
  • (all) BREAKING The Connect trait has lost its
    Transport associated type, instead relying on the Self type.
  • (all) BREAKING Introduced a new DnsTcpStream trait, which is now a
    bound for implementing the Connect trait.
  • (resolver) BREAKING Move CachingClient from lookup_state to caching_client module
  • (resolver) BREAKING Move ResolverOpts::distrust_nx_responses to NameServerConfig::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 to main) 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 from ServerFuture::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 of NXDOMAIN 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 and DnsResponse::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 and RecordType::is_ns to easily check for these types #1197
  • (proto) Message::all_sections to allow iteration over all Records 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

13 Nov 18:53
Compare
Choose a tag to compare

0.19.6

Fixed

  • bump resolv-conf from 0.6.0 to 0.7.0, fixes system resolv.conf parse issue (@wg) #1285

0.20.0-alpha.3 (see previous alphas for full changelog)

25 Oct 03:09
Compare
Choose a tag to compare

Changed

  • (proto) Set TCP_NODELAY when building a TCP connection (@djc) #1249
  • (all) BREAKING The UdpSocket trait has grown an associated Time type.
  • (all) BREAKING The Connect trait has lost its
    Transport associated type, instead relying on the Self type.
  • (all) BREAKING Introduced a new DnsTcpStream trait, which is now a
    bound for implementing the Connect trait.
  • (resolver) BREAKING Move CachingClient from lookup_state to caching_client module
  • (resolver) BREAKING Move ResolverOpts::distrust_nx_responses to NameServerConfig::trust_nx_responses (@djc) #1212
  • (proto) data-encoding is now a required dependency #1208

Fixed

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

v0.20.0-alpha.2

16 Sep 23:18
Compare
Choose a tag to compare
v0.20.0-alpha.2 Pre-release
Pre-release

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 and DnsResponse::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 and RecordType::is_ns to easily check for these types #1197
  • (proto) Message::all_sections to allow iteration over all Records 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

17 Aug 01:00
Compare
Choose a tag to compare
0.20.0-alpha.1 Pre-release
Pre-release

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 to main) 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 from ServerFuture::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 of NXDOMAIN 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