zone.conf overwrited after DA update -> 1.25.1

Timmm

Verified User
Joined
Sep 12, 2005
Messages
29
Location
Amsterdam, The Netherlands
After updating DA to 1.25.1 my zone.conf in the templates directory gets overwrited. In the original zone.conf:

zone "|DOMAIN|" { type master; file "|PATH|/|DOMAIN|.db"; };

I added:

zone "|DOMAIN|" { type master; file "|PATH|/|DOMAIN|.db"; allow-query { any; }; };

This addition disappeared after updating! With the result the Dutch Domainregistery (www.sidn.nl) cannot query my DNS anymore.

Now I would like to update to a new version should I check this all the time?

Maybe IF DA update need to re-write zone.conf template you could use a preg-replace function leaving the additions alone...

Thanks!

Tim; The Netherlands
 
Copy zone.conf to the "custom" directory in the templates folder and make your changes there.

The files in the templates folder will get overwritten when you upgrade DA... that's what the "custom" folder is for.
 
Back
Top