<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >DB2 backend</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PowerDNS manual" HREF="index.html"><LINK REL="UP" TITLE="Backends in detail" HREF="backends-detail.html"><LINK REL="PREVIOUS" TITLE="Generic SQLite backend (2 and 3)" HREF="gsqlite.html"><LINK REL="NEXT" TITLE="Bind zone file backend" HREF="bindbackend.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PowerDNS manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="gsqlite.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Appendix A. Backends in detail</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="bindbackend.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="DB2" >A.8. DB2 backend</A ></H1 ><P > <DIV CLASS="TABLE" ><A NAME="AEN5181" ></A ><P ><B >Table A-8. DB2 backend capabilities</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><TBODY ><TR ><TD >Native</TD ><TD >Yes</TD ></TR ><TR ><TD >Master</TD ><TD >No</TD ></TR ><TR ><TD >Slave</TD ><TD >No</TD ></TR ><TR ><TD >Superslave</TD ><TD >No</TD ></TR ><TR ><TD >Autoserial</TD ><TD >Yes</TD ></TR ><TR ><TD >Module name</TD ><TD >db2</TD ></TR ><TR ><TD >Launch name</TD ><TD >db2</TD ></TR ></TBODY ></TABLE ></DIV > </P ><P > PowerDNS is currently ascertaining if this backend can be distributed in binary form without violating IBM DB2 licensing. </P ><P > The DB2 backend executes the following queries: <P ></P ><DIV CLASS="VARIABLELIST" ><DL ><DT >Forward Query</DT ><DD ><P > select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ? and type = ? </P ></DD ><DT >Forward By Zone Query</DT ><DD ><P > select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ? and Type = ? and ZoneId = ? </P ></DD ><DT >Forward Any Query</DT ><DD ><P > select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where Name = ? </P ></DD ><DT >List Query</DT ><DD ><P > select Content, TimeToLive, Priority, Type, ZoneId, 0 as ChangeDate, Name from Records where ZoneId = ? </P ></DD ></DL ></DIV > </P ><P > Configuration settings: <P ></P ><DIV CLASS="VARIABLELIST" ><DL ><DT >db2-server</DT ><DD ><P > 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. </P ></DD ><DT >db2-user</DT ><DD ><P > Username to connect as. Defaults to 'powerdns'. </P ></DD ><DT >db2-password</DT ><DD ><P > Password to connect with. Defaults to 'powerdns'. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="gsqlite.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="bindbackend.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Generic SQLite backend (2 and 3)</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="backends-detail.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Bind zone file backend</TD ></TR ></TABLE ></DIV ></BODY ></HTML >