We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How set SOA RNAME?
How set SOA RNAME?
Hello,
How can I set the SOA RNAME for every domain?
I'm want to use the same email (ie. contact.mydomain.com ) to every user domain in order to don't create an email account in every user account.
I want to manage all domains with one SOA RNAME.
Thanks in advance.
How can I set the SOA RNAME for every domain?
I'm want to use the same email (ie. contact.mydomain.com ) to every user domain in order to don't create an email account in every user account.
I want to manage all domains with one SOA RNAME.
Thanks in advance.
Re: How set SOA RNAME?
I think you want change root.domain.com ?
Then /usr/local/vesta/func/domain.sh
Then /usr/local/vesta/func/domain.sh
Code: Select all
# Update domain zone
update_domain_zone() {
domain_param=$(grep "DOMAIN='$domain'" $USER_DATA/dns.conf)
eval $domain_param
SOA=$(idn --quiet -a -t "$SOA")
if [ -z "$SERIAL" ]; then
SERIAL=$(date +'%Y%m%d01')
fi
zn_conf="$HOMEDIR/$user/conf/dns/$domain.db"
echo "\$TTL $TTL
@ IN SOA $SOA. root.$domain_idn. (
$SERIAL
7200
3600
1209600
180 )
Re: How set SOA RNAME?
Thanks buddy, that's work ok for me.
Re: How set SOA RNAME?
Nice! ^_^