mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +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:
commit
943a8889d9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user