Commit Graph

13 Commits

Author SHA1 Message Date
Jorge Aparicio
58239028f4 turn dns_test::{subject,peer} into immutable statics
using `std::env::set_var` to set or change the value of either
DNS_TEST_SUBJECT or DNS_TEST_PEER  is A Bad Idea, specially so when
tests  are running in parallel

we can't forbid the use of `env::set_var` _but_ at least we can ensure
that even in its presence the return value of `dns_test::{subject,peer}`
will not change

this is accomplished using a "lazy" static variable that gets
initialized at most once during the lifetime of the process instead of
reading the env var each time `{subject,peer}` is called

to better convey the fact that the return value of `{subject,peer}`
won't change, we present them as static variables instead
2024-05-22 14:03:18 +02:00
Jorge Aparicio
a39afe6412 test a bogus DNSSEC scenario 2024-02-26 11:50:48 +01:00
Jorge Aparicio
57a1fc9231 parse more record types 2024-02-26 11:50:48 +01:00
Jorge Aparicio
86284cce4b add explore example 2024-02-20 16:30:41 +01:00
Jorge Aparicio
1cb7ee40fe perform some validation of the repository argument 2024-02-20 10:28:11 +01:00
Jorge Aparicio
e77fd41635 add eavesdrop API
closes #9
2024-02-19 12:56:38 +01:00
Jorge Aparicio
edd6eebe1a mv tests into conformance-tests package 2024-02-08 18:28:05 +01:00
Jorge Aparicio
1c2d9ec4dc restructure into a workspace 2024-02-08 18:15:41 +01:00
Jorge Aparicio
984a05e873 revamp zone file generation 2024-02-05 18:33:04 +01:00
Jorge Aparicio
60ecfeca5e initial RecursiveResolver API 2024-02-05 14:24:01 +01:00
Jorge Aparicio
bc10cda9cc WIP root & tld name server setup 2024-02-01 18:07:00 +01:00
Jorge Aparicio
3c50ca911a initial Container API 2024-02-01 17:19:01 +01:00
Jorge Aparicio
a438d7c5e1 initial commit 2024-01-29 17:08:18 +01:00