[Pdns-users] records.change_date field
Roeland Nieuwenhuis
trancer at poweradmin.org
Sat Jul 5 01:45:15 UTC 2003
Yep thats pretty much the case yep ;)
What has to be there is a change_date in the SOA Serial form you use..
Most registries demand a YYYYMMDDxx style notation so its useful to
store it like that there.
Regards,
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 16:38
Aan: pdns-users at mailman.powerdns.com
Onderwerp: RE: [Pdns-users] records.change_date field
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
Hi,
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.
Regards,
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
Hi...
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?).
Thanks.
- Ryan Baldwin
Programmer
Point2 Technologies Inc.
www.point2.com
www.point2agent.com
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list