DGA
September 29, 2024, 3:08am
1
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
sahsanu
September 29, 2024, 10:46am
2
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]
DGA:
where to find these
DNS templates are here /usr/local/hestia/data/templates/dns/
DGA
September 29, 2024, 4:44pm
3
Thanks a lot for this great solution.
Yes, It’s resolved now.
Regards.
1 Like
system
Closed
October 29, 2024, 4:44pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.