1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-26 11:39:23 +08:00

add named zone check

This commit is contained in:
JerryXiao 2020-12-16 16:01:12 +08:00
parent c602e2fae5
commit 6de6da334f
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA
2 changed files with 20 additions and 0 deletions

18
scripts/check-named-zones.sh Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091
set -eo pipefail
[ -n "$CI" ]
apt update -qq
DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::=--force-confold install -y --no-install-recommends bind9-utils
alias check='PATH=/sbin:/usr/sbin:$PATH named-checkzone -i local'
pushd dns
check 'neo' neonetwork
check '127.10.in-addr.arpa' db.10.127
check '7.2.1.0.0.1.d.f.ip6.arpa' db.fd10.127
popd

View file

@ -21,3 +21,5 @@ scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -j -o generated/roa46.json
scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -e -o generated/neonetwork.json scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -e -o generated/neonetwork.json
scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -r -o generated/rfc8416.json scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -r -o generated/rfc8416.json
scripts/roa.py --summary --output generated/README.md scripts/roa.py --summary --output generated/README.md
scripts/check-named-zones.sh