1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-12 04:35:23 -07:00

Fix duplicated DNS records in DNS cluster

Credits to: @madeITBelgium
This commit is contained in:
myvesta 2021-03-16 00:19:03 +01:00 committed by GitHub
parent afcf1a1572
commit 627684c0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ if [ "$flush" = 'records' ]; then
fi
# Flush domain
if [ "$flush" ! = 'no' ]; then
if [ "$flush" != 'no' ]; then
sed -i "/DOMAIN='$DOMAIN'/d" $USER_DATA/dns.conf 2> /dev/null
fi