All Versions
60
Latest Version
Avg Release Cycle
64 days
Latest Release
1784 days ago

Changelog History
Page 1

  • v11.1 Changes

    May 29, 2019

    0.11.1

    • disables the socket2/reuseport feature except when mdns is enabled
  • v0.22.0 Changes

    โœ‚ Removed

    • (deps) don't pull in env_logger if we aren't actually a binary #1701 by @Noah-Kennedy

    โž• Added

    • (resolver) Add option to use a provided name server order #1766 by @nhurley3
    • โœ… (proto) Add invalid utf8 output test for TXT::fmt. #1755 by darnuria
    • ๐Ÿ‘ (proto) Support 0-RTT in DNS over QUIC #1716 by msoxzw
    • ๐Ÿ†• (recursor) new A Trust DNS based Recursor!!! #1710 by @bluejekyll
    • ๐Ÿ”ง (resolver) Allow customizing the static hosts configuration #1705 by @fantix
    • ๐Ÿ‘ (proto/server) Support loading pkcs#1 private key as well #1704 by @lisongmin
    • (util) Trust dns client cli (like dig) #1680 by @bluejekyll

    ๐Ÿ›  Fixed

    • (proto) Only retry UDP socket bind if it returned EADDRINUSE #1761 by @peterthejohnston
    • (all) Add necessary conditional compilation cfgs #1752 by @trevor-crypto
    • (server) Populate name_pointers correctly via MessageResponseBuilder request #1744 by @jeff-hiner
    • (resolver) Do not fail parse_resolv_conf on invalid hostname #1740 by @schultetwin1
    • โš  (all) doc: Fix warnings reported by cargo doc #1737 by @wiktor-k
    • (proto) Use u16::*_be_bytes represent length field (fixes DoQ) #1715 by @msoxzw
    • (proto) Prevent invalid 0-length labels via from_raw_bytes #1700 by @jonasbb
    • (proto/server) Drop UDP packets on send failure #1696 by @jeff-hiner
    • ๐Ÿšš (all) removed .max(0), unnecessary with u32's #1691 by @bluejekyll
    • (server) sanitize all addresses received by the server before attempting any rโ€ฆ #1690 by @bluejekyll
    • ๐Ÿšš (server) Remove forced (unecessary) Mutex from handler #1679 by @jeff-hiner
    • ๐Ÿ“œ (proto) Fix SvcParamKey::Unknown parsing #1678 by @jeff-hiner

    ๐Ÿ”„ Changed

    • (all) Minimum Rust Version now 1.59 #1771 by bluejekyll
    • ๐Ÿ“œ (client) Parser panic to result #1758 by darnuria
    • ๐Ÿ“œ (client) Avoid 3 unwrap() call inc Parser::flush_record. #1757 by @darnuria
    • (client) Cleanup lex #1756 by darnuria
    • ๐Ÿ”ง (resovler) Make maximum request depth configurable #1749 by @wiktor-k
    • (server) Clean up ForwardAuthority api #1748 by @chotchki
    • (resolver) Relax mut requirements for resolver.clear_cache() and add cache flushing example #1747 by @dns2utf8
    • (resolver) Lookup access Records list directly #1746 by @izissise
    • (proto) Pass DnsRequestOptions to DNSSEC validating routines #1742 by @wiktor-k
    • (proto) Increase the maximum request depth to 26 #1736 by @wiktor-k
    • (server) Mark ForwardLookup as public #1729 by @chotchki
    • (all) upgrade windows openssl version to 1_1_1p #1728 by @bluejekyll
    • ๐ŸŒฒ (all) Converted to tracing from log #1706 by @erikh and @bluejekyll
    • ๐Ÿšš (server) Move logger setup code into binary #1703 by @djc
    • (proto) ignore errors when disconnected #1695 by @edevil
    • ๐Ÿ‘ฏ (server) RequestInfo derives Clone trait. #1693 by @humb1t
    • (proto/server) make doq transport settings more consistent with RFC #1682 by @bluejekyll
    • (all) Included githubactions in the dependabot config #1681 by @naveensrinivasan
    • ๐Ÿ—„ (proto) deprecated edns methods on request and replaced with extensions and better scemantics #1675 by @leshow
  • v0.21.2 Changes

    โž• Added

    • (proto) add PartialEq+Hash derives, #1661 by @leshow

    ๐Ÿ›  Fixed

    • (server) fix panic when tcp connect goes away before handling, #1668
    • (server) crates/server, InMemoryStore: Use a RwLock instead of a Mutex to manage inner storage, #1665 by @erikh
    • (all) fix audit regex failure, #1658
    • ๐Ÿ‘€ (resolver) Stop searching for additional records when encountering a name already seen, #1657 by @Mossop
    • ๐Ÿ“œ (proto) fix time txt parsing in SOA records, #1656

    โœ‚ Removed

    • ๐Ÿšš (all) remove old crates (the ones moved into proto, tag v0.21.1 can get if needed for crates.io), #1655

    ๐Ÿ”„ Changed

    • (resolver) keep any address records included in the response to an NS query, #1672 by @db48x
    • (resolver) force forwarder to preserve_intermediates, #1660 by @vlmutolo
    • (resolver) make constructors for AsyncResolver with custom providers public, #1654 by @Noah-Kennedy
  • v0.21.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ— (util) fixed feature build issue in resolve #1649
  • v0.21.0 Changes

    โž• Added

    • ๐Ÿ“œ (client) Parse DS records (@kmkaplan) #1635
    • ๐Ÿ”ง (fuzz) Added fuzzing configuration (@saethlin) #1626
    • ๐Ÿ”€ (resolver) Add resolver.clear_cache() sync and async (dns2utf8) #1611
    • (proto) Add CDS/CDNSKEY records from RFC7344 (frelon) #1595
    • ๐Ÿ”ง (resolver) Configuration of outbound bind address for resolver (@surban) #1586
    • (proto) Add CSYNC record from RFC7477 (@frelon) #1583
    • (proto) trust_dns_proto::rr::Record now serializable (@mvforell) #1536
    • (client) new zone_transfer method for AXFR and IXFR use cases, client only (@trinity-1686a) #1478
    • ๐Ÿ”ง (client) Flag for use_edns configuration on AsyncClient (@astro) #1492
    • ๐Ÿ‘ (client) support for TSIG authentication (@trinity-1686a) #1459

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ (util) openssl is no longer default enabled in trust-dns-utils, bins marked as required as necessary #1644
    • ๐Ÿ—„ (proto) deprecate outdated dnssec algorithms #1640
    • ๐Ÿ’ฅ (resolver) BREAKING removed DnsRequestOptions parameter from AsyncResolver::lookup, this is derived from ResolverOpts
    • (server) pass RequestInfo into Authority on search #1620
    • (proto) SSHFP: Ed448 is assigned algorithm 6 in RFC 8709 #1604
    • (resolver) Do not retry the same name server on a negative response (@peterthejohnston) #1589
    • (all) with-backtrace feature renamed to backtrace (@pinkisemils) #1577
    • (resolver) TCP for truncated message responses, but not for other failures on responses (switch for old behavior try_tcp_on_error) ( @peterthejohnston) #1562
    • (server) Multiple queries in a message will always result in a FormError now #1554
    • (server) ServerFuture and other Catalog related API changes #1554
    • 0๏ธโƒฃ (server) By default, the server will now only log a single log line based for a given request (debug will be needed for more details) #1554
    • ๐ŸŒฒ (server) ResponseHandler now must return a ResponseInfo to allow for more consistent logging #1554
    • (resolver) Correct behavior around trust_nx_responses (@peterthejohnston) #1556
    • (server) ResponseHandler trait is now async_trait, requires all impls to be annotated with #[async_trait] #1550
    • ๐Ÿ”€ (server) Authority impls required to be internally modifiable and Send + Sync #1550
    • (server) Most Authority methods changes to async fn rather than returning custom Future impls #1550
    • (server) Authority trait is now async_trait, requires all impls to be annotated with #[async_trait] #1550
    • (proto) Header now stores ResponseCode instead of just u8 #1537
    • ๐Ÿ“š (client) improved async client example documentation (@ErwanDL) #1539
    • (resolver) on REFUSED (and other negative) response(s), fall back to other nameservers (@peterthejohnston) #1513 #1526
    • 0๏ธโƒฃ (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

    • ๐Ÿšš (all) removed structopt dependency #1644
    • ๐Ÿšš (all) removed chrono dependency #1569
    • ๐Ÿšš (client) Remove AsyncClientConnect and AsyncSecureClientConnect (future impls) in favor of async constructors (@ErwanDL) #1541
    • ๐Ÿšš (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) fix CAA .to_string() crash and format (@hartshorne) #1631
    • (proto) fix DoubleEndedIterator impl for Name #1639
    • ๐Ÿ‘ฏ (client) Fix AsyncClient::clone always setting use_edns (@ecton) #1598
    • (resolver) Use stream connections if datagram connections are not available (@pinkisemils) #1592
    • ๐Ÿš€ (server) Release resources when a server future is dropped (@pinkisemils) #1587
    • (proto) Panic when name exceeds maximal domain name length during display #1447
  • v0.20.4 Changes

    ๐Ÿ›  Fixed

    • โšก๏ธ (all) updated tokio dependencies to 1.16 #1623
    • ๐Ÿšš (all) removed audit chrono due to rustsec audit failure (backport) #1623

    ๐Ÿ”„ Changed

    • (all) Increased MSRV to 1.51
  • v0.20.3 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ (resolver) Fix Windows build without system-config feature (@stephank) #1481
  • v0.20.2 Changes

    ๐Ÿ›  Fixed

    • (proto) Panic on bad length in SVCB for record length #1465
  • v0.20.1 Changes

    โž• 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
  • v0.20.0 Changes

    ๐Ÿ”„ 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