ERROR DNS Templates

  1. I customized my first template.
  2. assigned it to a hosting plan
  3. created a user with that plan, and then added a domain to the DNS zone.

Everything fine.

Then I:

  1. visit DNS domain
  2. apply GMAIL template (or other)

Everything fine.

Then I regret what I did and want to apply the first template again:

  1. visit DNS domain
  2. apply CUSTOM template

And I get this error:
Error: invalid template format :: _nm-w01-c02

Since it has already worked fine and I don’t see any errors on the created DNS zone, I think it might be an error in the panel.

Can you please have a look at it?

ID=‘1’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns8%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘2’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns7%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘3’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns6%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘4’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns5%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘5’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns4%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘6’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns3%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘7’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns2%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘8’ RECORD=’@’ TYPE=‘NS’ PRIORITY=’’ VALUE=’%ns1%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘9’ RECORD=‘k1._domainkey’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘dkim.mcsv.net.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘10’ RECORD=’_dmarc’ TYPE=‘TXT’ PRIORITY=’’ VALUE=’“v=DMARC1; p=quarantine; pct=100”’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘11’ RECORD=’@’ TYPE=‘TXT’ PRIORITY=’’ VALUE=’“v=spf1 +a +mx +a:smtp.%domain% include:spf-propios.XXXX.com include:spf-ext.XXXX.com -all”’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘12’ RECORD=‘smtp’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘13’ RECORD=‘webmail’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘14’ RECORD=‘imap’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘15’ RECORD=‘pop’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘16’ RECORD=‘mail’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘17’ RECORD=’@’ TYPE=‘MX’ PRIORITY=‘0’ VALUE=‘mx.%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘18’ RECORD=‘mx’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=‘c02.XXXX.com.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘19’ RECORD=‘ftp’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=’%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘20’ RECORD=‘www’ TYPE=‘CNAME’ PRIORITY=’’ VALUE=’%domain%.’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’
ID=‘21’ RECORD=’@’ TYPE=‘A’ PRIORITY=’’ VALUE=‘195.114.211.XXX’ SUSPENDED=‘no’ TIME=’%time%’ DATE=’%date%’

Okay, I have been playing with that.

The problem is that the template filename starts with an underscore character: “_”

“_mycustomtemplate.tpl”