zEitEr
Super Moderator
Hello,
The script /usr/local/directadmin/scripts/custom/dns_write_post.sh does not execute on domain name change if cluster=0 in directadmin.conf.
The step to reproduce:
1. Create a script sample: /usr/local/directadmin/scripts/custom/dns_write_post.sh
chmod 500 dns_write_post.sh
chown diradmin:diradmin dns_write_post.sh
2. Disable or make sure that Multi Server is currently turned OFF
3. Login as user and change a domain name.
4. As root check /usr/local/directadmin/scripts/custom/dns_write_post.sh.count it won't either create or won't grow in size.
5. Enable and make sure that Multi Server is currently turned ON
6. Login as user and change a domain name.
7. As root check /usr/local/directadmin/scripts/custom/dns_write_post.sh.count it will be created and/or grow in size.
Please check it and fix.
p.s. The scripts executes on domain creation fine.
The script /usr/local/directadmin/scripts/custom/dns_write_post.sh does not execute on domain name change if cluster=0 in directadmin.conf.
The step to reproduce:
1. Create a script sample: /usr/local/directadmin/scripts/custom/dns_write_post.sh
Code:
#!/bin/bash
echo -1 >> $0.count
chmod 500 dns_write_post.sh
chown diradmin:diradmin dns_write_post.sh
2. Disable or make sure that Multi Server is currently turned OFF
3. Login as user and change a domain name.
4. As root check /usr/local/directadmin/scripts/custom/dns_write_post.sh.count it won't either create or won't grow in size.
5. Enable and make sure that Multi Server is currently turned ON
6. Login as user and change a domain name.
7. As root check /usr/local/directadmin/scripts/custom/dns_write_post.sh.count it will be created and/or grow in size.
Please check it and fix.
p.s. The scripts executes on domain creation fine.