[Pdns-dev] Automatic SOA serial

Zsolt Dollenstein zsol.zsol at gmail.com
Fri Oct 14 23:08:08 CEST 2011


Hi Peter,

On Thu, Oct 13, 2011 at 12:56 PM, Peter van Dijk
<peter.van.dijk at netherlabs.nl> wrote:
> Hello Zsolt,
>
> On Oct 1, 2011, at 22:03 , Zsolt Dollenstein wrote:
>
>> I have recently started using powerdns (props for a great piece of
>> software!), however I bumped into what looks like issue #301 on your
>> bugtracker (http://wiki.powerdns.com/trac/ticket/301). It has two
>> patches attached to it but it looks like they have never been merged
>> in. Are there any problems with them? If so, I'm willing to rewrite &
>> test them so they can be included in future versions.
>
> I have looked at both options in the ticket:
> 1. add a change_date to the query and do a minor patch
> 2. add  a max(..) query to getSOA
>
> The first option would break existing setups if they have custom queries. This is of course a matter of documentation but I try to be careful in changing behaviour.
>
> The second option will not break existing setups (but if someone has a custom database schema, he still won't get auto serial with it - which is fine). However, the verbatim copying of code from dnsbackend to gsqlbackend looks a bit verbose.
>
> If you could look into making sure the second patch is not a dumb verbatim copy of code from dnsbackend, I'd be happy to consider it.
>
> My apologies for taking so long to reply.

I restructured the second patch and attached it (it's against HEAD).
Let me know what you think.

Thanks,
Zsolt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto_soa_serial-pdns-trunk-2283.patch
Type: text/x-patch
Size: 8526 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20111014/751eb504/attachment.bin>


More information about the Pdns-dev mailing list