rewrite DNS

Spark

Verified User
Joined
Aug 25, 2006
Messages
107
has something changed or am I missing something?

I copied the dns templates to the custom folder made the changes then issued:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue

well the named.db changes took effect and the spf record changes took effect but the ns and mx extries were unaffected even if I had deleted the ns and mx entries from the zones.


Unfortunatly I cannot rely on the perl method since I have dns clustering enabled and I need to modify the records that are specific to this server.
 
The ns and mx records are probably coming from the zone templates. ns records are required; if the're isn't at least one, then BIND won't load the zone. But you can of course move the template to the custom directory and change it there. MX records aren't required for domains that don't accept email; similarly you can move the template to the custom directory and change it there.

Jeff
 
Jeff you completely mis-read what I wrote. I modified the custom templates in order to change the ns and mx entries. I then issued the command for the rewrite and it does not rewrite the ns and mx entries. regardless if I delete the mx and ns records from the zone first or leave them.

Something has changed in DA because this use to work just fine.
 
Did you move the templates to the custom directory first? Otherwise any DA update may overwrite them.

Perhaps you should contact DirectAdmin support to see if they made any undocumented changes.

Jeff
 
Back
Top