mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
more accurate dns domain deletetion
This commit is contained in:
parent
e30eb7d3ce
commit
c2e2978c45
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ rm -f $HOMEDIR/$user/conf/dns/$domain.db
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
# Deleting domain
|
# Deleting domain
|
||||||
sed -i "/DOMAIN='$domain'/d" $USER_DATA/dns.conf
|
sed -i "/$user\/conf\/dns\/$domain.db\"/d" /etc/named.conf
|
||||||
rm -f $USER_DATA/dns/$domain.conf
|
rm -f $USER_DATA/dns/$domain.conf
|
||||||
|
|
||||||
# Decreasing domain value
|
# Decreasing domain value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue