Page 1 of 1

Rebuild DNS template doesn't work

Posted: Wed Feb 03, 2016 1:12 pm
by Spheerys
Hi :)

I have modified the default bind9 template here: /usr/local/vesta/data/templates/dns/default.tpl with adding on the end of this file this entry :

Code: Select all

ID='16' RECORD='*' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%'
After saving, I did a v-rebuild-dns-domains of the correct user, but the DNS entry wasn't appear.

What am I doing wrong ?

Re: Rebuild DNS template doesn't work

Posted: Fri Feb 05, 2016 11:47 am
by skurudo
Spheerys wrote:What am I doing wrong ?
all seems to be right.. restart dns service?

Re: Rebuild DNS template doesn't work

Posted: Fri Feb 05, 2016 12:29 pm
by Spheerys
Oh... you are right, it's works for new domains creations.
Didn't test again for existing ones, but it's ok for me :)

Re: Rebuild DNS template doesn't work

Posted: Sat Feb 06, 2016 7:31 pm
by skurudo
Ok, closed.