[Pdns-users] pdns / gmysql / serial-bug with signed-int

Harald Kapper hk at kapper.net
Mon Sep 13 18:41:05 UTC 2004

well, I noticed just a pdns-bug in the serial-generation for domains - we have
in our SOA-content field in a gmysql-backend-store:

ns5.kapper.net dns.kapper.net 2641686402 86400 7200 1814400 3600

(yeah, don't ask, it has to be this serial)

but in the "notified_serial" field for this domain it states: 2147483647

I "just for the fun" tried to inject the serial 2147483648 - but it seems the
above serial is max(serial) that powerdns can support... it's obvious that this
is the signed-integer instead of an unsigned one that should have been used.

anyone got a fix for this?

and as I'm in the asking-mood :)
anyone got an idea when ever this gmysql-definition is used:

gmysql-delete-zone-query	delete from records where domain_id=%d

it seems like there would be a way to delete a zone vie some command, but I have
on idea under what circuumstances this command would be executed.

thank you in advance,
Harald Kapper, icq# 36178328         kapper.net, inc.
managing director, owner,            loeblichgasse  6
chief executive officer              1090 vienna, .at
tel +43 1 3195500-0, fax +43 1 3195502, hk at kapper.net
It's definitely stupid...

>to quote what you refer to afterwards :-)
harald kapper, 16th August 2004 (annoyed by wrong-quotes)

More information about the Pdns-users mailing list