35 Commits

Author SHA1 Message Date
Benjamin Fry
456a306f3a fix typos in Access usage 2024-02-06 11:23:12 -05:00
Benjamin Fry
d6a927aba8 add deny networks config option and examples 2024-02-06 11:23:12 -05:00
Benjamin Fry
f141667a0b add config option for allow_networks 2024-02-06 11:23:12 -05:00
Marcus Butler
b414fe8d78 Recursor: make nameserver and record cache sizes configurable 2024-01-01 16:57:39 -05:00
Benjamin Fry
be4d16893f update certs 2023-12-04 09:11:53 -05:00
Benjamin Fry
408d0baca0 Prepare 0.24 release with branding change to Hickory DNS (#2054)
* update all READMEs with notices about the name change

* update changelog for 0.24

* bump crate versions to 0.24

* update version notice information

* update readmes to back reference trust-dns

* rename all crates to hickory counterparts

* replace all Trust-DNS references in code and comments with Hickory DNS

* rename all Trust-DNS references to Hickory DNS in non-code

* rename all trust-dns-resolver references to hickory-resolver

* rename all trust-dns-client references to hickory-client

* rename all trust-dns-proto references to hickory-proto

* rename all trust-dns-server references to hickory-server

* rename all trust-dns-compatibility references to hickory-compatability

* rename all trust-dns-integration references to hickory-integration

* rename all trust-dns-util references to hickory-util

* Update MIT licenses to reference Hickory DNS

* update all trust-dns references to hickory-dns

* update all bluejekyll github references to hickorydns org

* Update name in Changelog

* make sure hickory-dns logs during tests

* add changelogs for recent main additions

* fix references to trust-dns and hickory in architecture

* update a few trust-dns references in READMEs

* fixup some dangling trust_dns references

* replace fka with formerly in change log

* replace all hickoydns org references to hickory-dns

* replace all http links with https

* update logos

* update hickorydns to hickory-dns for all other org references

* fix Notices of Trust-DNS to Hickory in each Readme
2023-10-13 18:39:28 -07:00
Benjamin Fry
704e9a8a0f update certs for server https/quic tests 2023-09-26 08:28:39 -07:00
Daniel McCarney
e5075c6059 tests: add file authority test for default IN.
This commit adds a new test and testcase to the server crate test suite.
The `test_implicit_in_class` unit tests reads the
`tests/test-data/named_test_configs/default/implicitclass.zone` zone file
and asserts no error occurs. This zone file does not specify an explicit
record class, ensuring that the file authority defaults to IN, the
internet class.
2023-01-17 09:07:28 -08:00
Daniel McCarney
3235d2b3f6 tests: named_test_configs -> test_configs 2023-01-10 16:35:21 -08:00
HLFH
98fd773a08 fix DNSSec typo > DNSSEC 2022-12-20 15:22:05 +01:00
HLFH
9301df2032 fix DNSSEC typo 2022-12-20 15:22:05 +01:00
Axel Viala
0b69fb0527 WIP: Fix $TTL not taken into account with wildcard from zonefile. 2022-12-04 15:49:42 -08:00
HLFH
b122d71636 OpenSSL 3.0 compliant 2022-11-28 13:25:38 -08:00
Steve Singer
4eb2140e60 Ran gen-keys.sh to regenerate example certificates 2022-09-27 09:46:41 -07:00
Steve Singer
b1e7e92016 Regenerate the test SSL certificates 2022-09-27 09:46:41 -07:00
Benjamin Fry
654fc5183d rename hints to roots in source and docs 2022-08-24 15:20:43 -07:00
Benjamin Fry
457bd36130 add recursor to server 2022-08-24 15:20:43 -07:00
Benjamin Fry
4ceec91e0a add initial RecursiveAuthority 2022-08-24 15:20:43 -07:00
Benjamin Fry
28ffe0e8b6 initial layout of recursor 2022-08-24 15:20:43 -07:00
Benjamin Fry
45898ed4d6 initial trust-dns server config integration 2022-04-07 13:23:18 -07:00
Benjamin Fry
9a70ddb32e fix time txt parsing in SOA records 2022-03-08 11:56:04 +01:00
kmkaplan
13998d5ef0 Parse DS records (#1635)
* trust_dns_client::serialize::txt::parse_rdata::RData::parse(): support parsing DS

* add a DS in the example.com test zone file

* fix client::serialize::txt::Parser::parse_time() to require a number before any unit symbol (smhdw)

This is required to prevent the parser from interpreting a DS record type as a TTL of 0 seconds.

* fix clippy "use of `ok_or` followed by a function call"

* Only compile DNSSEC capabilities if feature dnssec is specified

* Add some knowledge about more DNSSEC algorithms from the RFC: RSAMD5, DSA and
digest type GOSTR34_11_94

* Fix typo: it's DS, not CDS.

Introduced in commit 87fd9b32c44b7adbd0e46091d0975234b48c3fde

* Fix cleanliness: apply cargo-fmt

* Fix tests without features DNSSEC.

* Fix store::file::authority::tests::test_load_zone with --all-features

* Fix cargo fmt -- --check

Co-authored-by: Kim Minh Kaplan <kimminh.kaplan+git@afnic.fr>
2022-02-18 10:31:25 -08:00
Benjamin Fry
1ab4baf044 cleanup use statements 2021-10-07 12:24:03 -07:00
Benjamin Fry
af7b3dfe7e update cangelog for server request logging 2021-10-07 12:24:03 -07:00
Benjamin Fry
909d5b7a6c update certs for tests 08-2021 2021-09-13 19:14:46 -07:00
ty
7a194c864f Set serde default and alias for Protocol and NameServerConfig (#1284)
* Set serde default and field rename for Protocol and NameServerConfig (fixes #1282)
2020-11-18 20:39:06 +01:00
Dirkjan Ochtman
183526ef66 move NX trust bit from ResolverOpts to NameServerConfig 2020-09-25 19:04:22 -07:00
Benjamin Fry
2f57f00ba5 update test certificates for TLS 2020-09-13 15:10:38 -07:00
Benjamin Fry
303f007316 No more master slave, in honor of Juneteenth (#1141)
* in honor of Juneteenth, remove replace Master with Primary

* in honor of Juneteenth, remove replace Slave with Secondary

* add 8499 for reference about naming

* clean up deprecation warnings

* remove unsupported markdown strikethroughs...

* revert primary to master in BIND compatibility tests
2020-06-20 12:59:47 -07:00
Oleksii Kachaiev
77fd933d53 Support $INCLUDE for master files (#1027)
* Add $INCLUDE, make sure that tests fail now

* Update FileAuthority test to try to find subdomain mentioned in INCLUDE-d file

* Quick but working implementation, a lot of TODOs

* File reader to rely on Lexer to detect INCLUDE instead of manual processing

* Parser to notify about expectation for INCLUDE to be inlined *before* parsing

* Differentiate absolute file path and relative file path when performing INCLUDE

* Add comment about INCLUDE with custom origin

* Extend logging for included files

* Track recursion depth and about in case of overlimit

* Block loading the same file more than once to deal with cycles

* Improve code for depth tracking

* Remove unnecessary comments from tests

* Fail $INCLUDE when custom relative domain is specified

Co-authored-by: Benjamin Fry <benjaminfry@me.com>
2020-03-09 15:06:31 -07:00
Benjamin Fry
ab19368ef1 reproduce error stack overflow from . as MX target
stop additional lookup on Root name
2020-01-04 13:42:56 -08:00
Benjamin Fry
30f6254deb move named to trust-dns bin crate 2019-10-25 15:05:07 -07:00
Benjamin Fry
d8b4a840b8 update all certs for tests 2019-09-06 08:15:00 -07:00
Benjamin Fry
0b8771f79f update test certificates 2019-04-09 06:23:51 -07:00
Benjamin Fry
4363bfd744 Clean up directory structure of crates (#589)
* Move all public crates into crates/

Integration tests into tests/

* move test certs into tests/test-data

* fix benches

* fix compatibility tests
2018-10-22 08:22:58 -07:00