Would be grateful for some guidance. Currently running GPL.
On creation of a new Virtual Server the SOA and everything else is fine however:-
- the first nameserver reads as
@ IN NS ns1.mynameserver.com.
but should be
domain.com. IN NS ns1.mynameserver.com.
- The ns2 record does not appear at all and I would like to include this on creation
domain.com. IN NS ns2.nameserver.com.
Appreciate being put on the right track.
Can you be a bit more precise where to do those changes. I cannot find the "Add above to auto…" is this in virtualmin or webmin?
Virtualmin >> System Settings >> Server Templates >> Your Template >> BIND DNS Domain
@ IN NS ns1.mynameserver.com. is ok as a record
to put the second dns server in the zone file, edit the template you’re using and in the “BIND DNS domain” section, check “Add above to automatically generated records” and in the text box add:
@ IN NS ns2.mynameserver.com
and you’re all done.