What is the default value of SOA value according to hestiacp default template

I have been missed my SOA default Value; Kindly help to provide this according to default template of HestiaCP like when it install just as new.

And

Please also suggest if any default record missed up by any reason then where to find these. Because here is no way to set as default or restore as default.

Regards

There is no template used for SOA values, they are hard-coded and Hestia uses the first defined ns server as SOA value.

$ grep -E -A3 '^soa' /usr/local/hestia/bin/v-add-dns-domain
soa="$ns1"
exp=$(date +%F -d "+ 1 year")
serial=$(date +'%Y%m%d01')
ttl=14400

But you can edit the dns domain to change it or use the command v-change-dns-domain-soa

v-change-dns-domain-soa USER DOMAIN SOA [RESTART]

DNS templates are here /usr/local/hestia/data/templates/dns/

Thanks a lot for this great solution.

Yes, It’s resolved now.

Regards.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.