2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 05:55:35 +00:00

Merge pull request #7126 from gurevichmark/SN_named

Turn off DNSSEC on Service Node for bind 9.16.6
This commit is contained in:
besawn
2022-03-09 16:35:01 -05:00
committed by GitHub

View File

@ -62,6 +62,11 @@ for i in $(grep "^nameserver" /etc/resolv.conf | awk '{print $2}')
do
echo " $i;"
done >>$FILE
echo " };
};" >>$FILE
echo " };" >>$FILE
BIND_VERSION=$(/usr/sbin/named -v | cut -d" " -f2)
if [[ $BIND_VERSION > "9.16.5" ]]; then
echo " dnssec-enable no;
dnssec-validation no;" >>$FILE
fi
echo "};" >>$FILE