A.6. DB2 backend

Table A-5. DB2 backend capabilities

NativeYes
MasterNo
SlaveNo
SuperslaveNo
AutoserialYes

PowerDNS is currently ascertaining if this backend can be distributed in binary form without violating IBM DB2 licensing. If you have a DB2 license, please contact pdns@powerdns.com so we can ship you a copy of this driver.

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'.