[Pdns-users] records.change_date field

Ryan Baldwin rbaldwin at point2.com
Fri Jul 4 14:37:54 UTC 2003

So instead of parsing out the Content field, finding the serial, incrementing it, and then resaving the record (which could be fragile), all I have to do is slap a timestamp (tick count?) in the change_date and PDNS will use that as the serial, eh?

If that's the case, I'm a happy, happy camper.

- ryan.

-----Original Message-----
From: Roeland Nieuwenhuis [mailto:trancer at poweradmin.org]
Sent: Friday, July 04, 2003 7:37 AM
To: pdns-users at mailman.powerdns.com
Subject: RE: [Pdns-users] records.change_date field


Quoted from the manual:

The fields have complicated and sometimes controversial meanings. The
'serial' field is special. If left at 0, the default, PDNS will perform
an internal list of the domain to determine highest change_date field of
all records within the zone, and use that as the zone serial number.
This means that the serial number is always raised when changes are made
to the zone, as long as the change_date field is being set.

This is what the change_date field does. For PowerAdmin I am working on
a list that will also describe the database fields in PowerDNS, it will
be released within a month I guess.. Depends on the amount of spare time
I will have.


Roeland Nieuwenhuis

-----Oorspronkelijk bericht-----
Van: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] Namens Ryan Baldwin
Verzonden: vrijdag 4 juli 2003 0:33
Aan: pdns-users at mailman.powerdns.com
Onderwerp: [Pdns-users] records.change_date field

Does anybody know where I can find some additional info about what
exactly each field in the pdns db backed is for?  I'm writing some code
for updating zones here, and I'm wondering if I have to "touch" the
records.change_date field, and, if so, what value it's expecting (I
imagine a tick count?).

- Ryan Baldwin
Point2 Technologies Inc.

Pdns-users mailing list
Pdns-users at mailman.powerdns.com

More information about the Pdns-users mailing list