Change to support also alternative packages
Print also used version of dig and named.
This commit is contained in:
parent
fc54993c93
commit
dabbd04134
2 changed files with 26 additions and 3 deletions
|
|
@ -4,8 +4,29 @@ framework: beakerlib
|
|||
description: |
|
||||
Configures named as a caching forwarder. Keep dnssec-validation enabled and try to
|
||||
workaround for buggy nameservers provided from the network.
|
||||
require+:
|
||||
- bind
|
||||
|
||||
Test signed zones are validated and include ad bit. Check unsigned zones are
|
||||
missing ad bit in responses. Requires security-aware DNS servers to be supplied by
|
||||
the network.
|
||||
recommend+:
|
||||
- bind-utils
|
||||
- sed
|
||||
- awk
|
||||
adjust:
|
||||
- recommend+:
|
||||
- bind
|
||||
- bind-utils
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component is not defined or component == bind
|
||||
- recommend+:
|
||||
- bind9.16
|
||||
- bind9.16-utils
|
||||
environment+:
|
||||
PACKAGE: bind9.16
|
||||
when: component == bind9.16
|
||||
- recommend+:
|
||||
- bind9-next
|
||||
- bind9-next-utils
|
||||
environment+:
|
||||
PACKAGE: bind9-next
|
||||
when: component == bind9-next
|
||||
|
|
|
|||
|
|
@ -158,6 +158,8 @@ rlJournalStart
|
|||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
rlRun "named -V"
|
||||
rlRun "dig -v"
|
||||
rlRun "SECURE_SERVERS=\"$(dnssec_servers)\"" || rlFail "No secure servers obtained"
|
||||
rlFileBackup --missing-ok /etc/named/forwarders.conf
|
||||
rlFileBackup /etc/named.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue