[Pdns-users] records.change_date field

Ryan Baldwin rbaldwin at point2.com
Mon Jul 7 14:46:58 UTC 2003


Hrmmm... if I'm going to do a date/time format in int notation, I'd love to be able to do YYYYMMDDHHMMSS, but that would require me using the "bigint" field type in sql server... does anybody know if pdns would accept the changes from "int" to "bigint" for free?  ie, can it handle big int (bigint fields are 8 bytes)

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


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


_______________________________________________
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