I need to change DNS record WWW to type A for all users, so that when creating new domains, it automatically becomes an A record and instead of the domain, the IP address is substituted in the IP or value field. In default it’s CNAME type with domain in IP or value field
Now you should edit the package used by your users and replace this:
DNS_TEMPLATE='default'
with this:
DNS_TEMPLATE='yuri'
For example, if your users are using the default package:
cd /usr/local/hestia/data/packages
sed -i "s/^DNS_TEMPLATE.*/DNS_TEMPLATE='yuri'/" default.pkg
To avoid issues when updating Hestia, it’s better if you create a new package for your users and made the modification to that new package, and then assign it to your users.