Jorge Aparicio
04a7190e61
supporty hickory-based Resolver
2024-02-09 15:37:58 +01:00
Jorge Aparicio
3c95b85150
introduce Implementation enum
2024-02-09 14:55:03 +01:00
Jorge Aparicio
362838b41f
update CI config
2024-02-08 19:28:05 +01:00
Jorge Aparicio
5c53ba0899
make Client::delv
work & use it in dnssec tests
2024-02-08 19:23:50 +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
1e5aac55e7
bake Dockerfile into the crate
...
to avoid the problem of changes in the `docker` directory affecting the
outcomes of tests. IOW, so that all downstream uses of the crate use the
same docker image
2024-02-08 18:10:49 +01:00
Jorge Aparicio
095b68b887
add API to gracefully terminate name server & resolver
2024-02-08 17:54:35 +01:00
Jorge Aparicio
3e78cfa30e
ensure child process does not outlive its container
2024-02-08 15:30:32 +01:00
Jorge Aparicio
02f5307056
make docker build
less noisy
2024-02-08 15:14:54 +01:00
Jorge Aparicio
11e9c43e19
Merge pull request #5 from japaric/ci
...
enable CI
2024-02-08 15:11:47 +01:00
Jorge Aparicio
c50568c709
enable CI
2024-02-08 15:09:03 +01:00
Jorge Aparicio
b21875b963
Merge pull request #4 from japaric/container-api
...
minimal local network with working resolution
2024-02-08 15:02:08 +01:00
Jorge Aparicio
306ce7a32b
set up DS records and trust anchor to make DNSSEC work
2024-02-07 20:11:09 +01:00
Jorge Aparicio
2bcad2a25c
parse RRSIG record & complete signed NS test
2024-02-07 14:59:15 +01:00
Jorge Aparicio
037cf4f698
ns: sign zone file
2024-02-06 20:05:21 +01:00
Jorge Aparicio
a527ed6218
hardcode chmod used in Container::cp
...
everything uses the same value
2024-02-06 18:53:40 +01:00
Jorge Aparicio
5858309bfa
revise names and module organization
2024-02-06 18:52:30 +01:00
Jorge Aparicio
7f7d9f7ccf
rename Domain -> FQDN
2024-02-06 18:15:05 +01:00
Jorge Aparicio
e29b901bc1
shorten AuthoritativeNameServer -> NameServer
2024-02-06 18:12:22 +01:00
Jorge Aparicio
3e5ef300ce
refactor/ns: build pattern + type state
2024-02-06 18:11:31 +01:00
Jorge Aparicio
7ad5bacbdc
parse dig's output
2024-02-06 16:47:18 +01:00
Jorge Aparicio
fc7cf970a5
fix nameserver's A record & add some docs
2024-02-05 19:51:02 +01:00
Jorge Aparicio
d13186e404
make resolution test work
2024-02-05 19:21:52 +01:00
Jorge Aparicio
984a05e873
revamp zone file generation
2024-02-05 18:33:04 +01:00
Jorge Aparicio
7e9f63d85e
fix non-fatal NSD error about PID file
2024-02-05 15:55:01 +01:00
Jorge Aparicio
1b0f1ef59f
move validation to Domain ctor
2024-02-05 15:53:48 +01:00
Jorge Aparicio
bab595a412
simplify code with minijinja::render!
2024-02-05 15:44:25 +01:00
Jorge Aparicio
cbbb12b3b5
refactor Container methods
2024-02-05 15:03:57 +01:00
Jorge Aparicio
c7e0580c7a
use Ipv4Addr type for IP addresses
2024-02-05 14:42:20 +01:00
Jorge Aparicio
d79581bdcc
fix warnings
2024-02-05 14:27:10 +01:00
Jorge Aparicio
60ecfeca5e
initial RecursiveResolver API
2024-02-05 14:24:01 +01:00
Jorge Aparicio
9101bb1046
only build image once per test runner run
2024-02-02 15:45:12 +01:00
Jorge Aparicio
1d616e822d
rename nsd -> AuthoritativeNameServer
2024-02-02 15:40:43 +01:00
Jorge Aparicio
f4ded488ce
merge all docker images into one
2024-02-02 15:39:38 +01:00
Jorge Aparicio
42de7c3a92
move NsdContainer into its own module
2024-02-02 15:19:29 +01:00
Jorge Aparicio
e997c8cff5
move Container into its own module
2024-02-02 15:15:42 +01:00
Jorge Aparicio
61bb4bb315
test nameserver with dig
2024-02-02 15:09:45 +01:00
Jorge Aparicio
cc753de77c
add NsdContainer
2024-02-02 14:59:13 +01:00
Jorge Aparicio
6026caf25d
make nameserver setup work
2024-02-02 14:48:26 +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
e6691ffc40
Merge pull request #3 from japaric/expand-dockerfiles-install-tools
...
Prepare containers to work on OSX
2024-02-01 16:31:30 +01:00
Jorge Aparicio
97beb1c083
Merge pull request #2 from japaric/readme-up
...
add TLD name server instructions
2024-02-01 16:25:40 +01:00
Sebastian Ziebell
907f40923d
Prepare containers to work on OSX
...
* copy config files into unbound container
* install vim & tshark in all containers
2024-02-01 16:24:39 +01:00
Jorge Aparicio
88afa403a4
add TLD name server instructions
2024-02-01 16:24:34 +01:00
Jorge Aparicio
ecc73a5255
Merge pull request #1 from japaric/expand-example-setup
...
Expand test setup to run on OSX as well
2024-02-01 15:36:38 +01:00
Sebastian Ziebell
e5c373b6da
Expand test setup to run on OSX as well
...
A client based `Dockerfile` is added to run `dig` & `delv` in, to make
the setup work on OSX.
* set up client container
* install additional tools
* expand Readme with setup instructions
2024-02-01 15:34:30 +01:00
Jorge Aparicio
a438d7c5e1
initial commit
2024-01-29 17:08:18 +01:00