DNS Template not being used

moroswitie

Verified User
Joined
Jun 13, 2009
Messages
8
I changed the template file:
dns_a.conf

==================
|DOMAIN|.=|IP|
localhost=127.0.0.1
mail=|IP|
pop=|IP|
pop3=|IP|
www=|IP|
ftp=|IP|
smtp=|IP|
webmail=|IP|
==================

also copied this file to: /usr/local/directadmin/templates/custom/

but whenever I create a new domain, or reset the dns to default settings for a domain. My changes are not being picked up?

Does anybody know what the problem could be?

EDIT:
I even tried restarting directadmin
 
Last edited:
Folder is wrong:

should be /usr/local/directadmin/data/templates/custom
 
I made a typo when posting my first question:
location is indeed: /usr/local/directadmin/data/templates/custom/

Does anybody have it working?
 
Found an old post, stating you need a newline after the last entry.
That solved my problem.
 
Back
Top