Skip to main content

Dns Templates

To  Manage DNS Templates

This option will help you to create and manage DNS templates in your server.

DNS -> DNS Templates

The DNS templates files are  use to create the  DNS Zone file. You make a new  template via Cloning an existing template . The new  Zone template can be assigned as a Global DNS Zone temple or  A User Template.

The Global DNS zone temples will be available for all users.

The User zone template only be available for that specif user.

Location of the Global DNS Zone  Zone  templates will be on the following folder.

/usr/local/eenos/templates/dns/

The location of the user  DNS Zone template files will be under the user data directory . For the user "foo" , it will be as follows,

/var/eenos/userdata/foo/templates/dns/

The Template Language of the Zone is the Python Mako Template  language.

Edit Zone Template

You can edit the dnz Zone template by clicking the Edit  Button.

Delete Zone Template

You can  delete a zone template by clicking the Delete Button

You  are not allowed to Edit or  Delete the Default Zone template file, which will be auto updated. 

To create or clone a new  DNS template from the server terminal simply copy the Zone template into a new name.

It is recommend to edit the DNS Zone templates using an editor from the server terminal like VIM or Nano. You may also use user favorite code editor like Sublime or VSCode.