1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

test/util: Add mini DNS server for testing purposes

This is a mini-DNS server for testing purposes.

This can be used to set up hermetic tests in containers, and work around
glibc's limitation of being unable to create per-process host aliases.
This commit is contained in:
Alberto Bertogli
2018-11-25 00:50:10 +00:00
parent 661f759c0c
commit a0ae5fb41b
2 changed files with 309 additions and 0 deletions

View File

@@ -107,6 +107,10 @@ function conngen() {
go run ${UTILDIR}/conngen.go "$@"
}
function minidns() {
go run ${UTILDIR}/minidns.go "$@"
}
function success() {
echo success
}