PDA

View Full Version : Bug report: DNS SOA reused between creations



zylon
12-02-2009, 02:41 AM
Hello,

DA uses the following layout for SOA serial: YYYYMMDDXX.

XX is increased if there are multiple updates during the same day.

If you delete a domain and recreate it, it restart the XX at 00.

This means that if you first create the domain under user with IP 1 and delete it and recreate it under user with IP 2, you will have the same SOA serial but different IPs.

The same SOA serial means that our slave nameservers will not notice the difference and not take over the new zonefile.

Is it possible to change this? Would it be possible to let DA remember the domain was created before and use a higher SOA serial number?

nobaloney
12-02-2009, 02:44 PM
Interesting problem; you'd have to keep a list of all domains deleted from the server, and then zero it out every night at midnight. Or change the system to:

YYYYMMDDxxxxx

where xxxxx is the number of seconds past midnight.

Perhaps John at DirectAdmin will come up with something.

Jeff

DirectAdmin Support
12-02-2009, 10:45 PM
Hello,

Interesting. Yes, I can add it to the list, but it will be considered a lower priority to some other issues that are on the list at the moment.

John