6. DB2 backend

[Note]Note

This backend is unsupported.

Table A.6. DB2 backend capabilities

NativeYes
MasterNo
SlaveNo
SuperslaveNo
AutoserialYes
DNSSECNo
Disabled dataNo
CommentsNo
Module namedb2
Launch namedb2


PowerDNS is currently ascertaining if this backend can be distributed in binary form without violating IBM DB2 licensing.

The DB2 backend executes the following queries:

Forward Query

select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ? and type = ?

Forward By Zone Query

select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ? and Type = ? and ZoneId = ?

Forward Any Query

select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ?

List Query

select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where ZoneId = ?

Configuration settings:

db2-server

Server name to connect to. Defaults to 'powerdns'. Make sure that your nameserver is not needed to resolve an IP address needed to connect as this might lead to a chicken/egg situation.

db2-user

Username to connect as. Defaults to 'powerdns'.

db2-password

Password to connect with. Defaults to 'powerdns'.