Split unbound and resolver: use resolver in TP3
This commit is contained in:
parent
cc2c5986ed
commit
7dfb50e357
6 changed files with 41 additions and 9 deletions
13
pkg/resolver/docker-entrypoint.sh
Executable file
13
pkg/resolver/docker-entrypoint.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ `which unbound-$1 2>/dev/null` ]; then
|
||||
set -- unbound-"$@"
|
||||
elif [ ! `which $1 2>/dev/null` ]; then
|
||||
set -- unbound -dv "$@"
|
||||
fi
|
||||
|
||||
unbound-anchor
|
||||
|
||||
exec "$@"
|
||||
Reference in a new issue