New Virtual Server DNS configuration

Would be grateful for some guidance. Currently running GPL.

On creation of a new Virtual Server the SOA and everything else is fine however:-

  1. the first nameserver reads as

but should be IN NS
  1. The ns2 record does not appear at all and I would like to include this on creation IN NS

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 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:

and you’re all done.