[Pkg-pdns-maintainers] Bug#707761: pdns-backend-pgsql: IP fields too short for master/slave operation over IPv6

Marc Haber mh+debian-packages at zugschlus.de
Sat May 11 14:55:37 UTC 2013


tags #707761 confirmed

Hi,

On Fri, May 10, 2013 at 10:11:01PM -0300, marcos at marcosdumay.com wrote:
> The PowerDNS master/slave synchronization does not work over IPv6
> because the database schema can not hold the addresses.
> 
> A supermaster can not be configured, because the column supermaster.ip
> holds a maxumim of 25 characters, and the domain replication fails
> because the column domain.master holds a maximum of 20 characters.
> Increasing those limits to 39 characters, the maximum length of an
> IPv6 address, solves the problem.

this bug report is entirely reasonable. Unfortunately, the pgsql
schemes were not updated for wheezy, while they should.

A possible local fix is of course to adapt the database scheme to
whatever is suitable for the present PowerDNS version.

Are you in a position to provide a patch for this issue to fix the
package? If not, I regret that there won't be a speedy fix available
as I would need to brush up my PostgreSQL first, which I almost never
use.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062



More information about the Pkg-pdns-maintainers mailing list