<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Installing on Microsoft Windows</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PowerDNS manual" HREF="index.html"><LINK REL="PREVIOUS" TITLE="Running PDNS on unix" HREF="pdns-on-unix.html"><LINK REL="NEXT" TITLE="Running PDNS on Microsoft Windows" HREF="running-on-windows.html"></HEAD ><BODY CLASS="CHAPTER" 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="pdns-on-unix.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="running-on-windows.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="CHAPTER" ><H1 ><A NAME="WINDOWS" ></A >Chapter 3. Installing on Microsoft Windows</H1 ><P > <DIV CLASS="NOTE" ><P ></P ><TABLE CLASS="NOTE" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P > PowerDNS support for Windows is, as of 1.99.12, very recent and therefore quite 'beta'. For reliability, we currently advise the use of the Unix versions. Furthermore there is no support for master or slave operation in the ODBC backend, which is the only one provided currently. This will be fixed soon. </P ></TD ></TR ></TABLE ></DIV > </P ><P > As of 1.99.12, PowerDNS supports Windows natively. PDNS can act as an NT service and works with any ODBC drivers you may have. </P ><P > To install PowerDNS for Windows you should check if your PC meets the following requirements: <P ></P ><UL ><LI ><P > A PC running Microsoft NT (with a recent servicepack and at least mdac 2.5), 2000 or XP. </P ></LI ><LI ><P >An ODBC source containing valid zone information (an example MS Access database is supplied in the form of <TT CLASS="FILENAME" >powerdns.mdb</TT >). </P ></LI ></UL > </P ><P > If your system meets these requirements, download the installer from <A HREF="http://www.powerdns.com/pdns/" TARGET="_top" >http://www.powerdns.com/pdns/</A >. After downloading the file begin the installation procedure by starting <TT CLASS="FILENAME" >powerdns-VERSION.exe</TT >. </P ><P > After installing the software you should create a valid ODBC source. To do this you have open the ODBC sources dialog: <TT CLASS="FILENAME" >Start->Settings->Control Panel->Administrative Tools->Data Sources (ODBC)</TT >. </P ><P > We'll use the example zone database that is included in the installation to explain how to create a source. </P ><P > When you are in the ODBC sources dialog you activate the <TT CLASS="FILENAME" >System DSN</TT > tab. <DIV CLASS="NOTE" ><P ></P ><TABLE CLASS="NOTE" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P >It is important to create a System DSN instead of an User DNS, otherwise the ODBC backend cannot function.</P ></TD ></TR ></TABLE ></DIV > </P ><P > Press <TT CLASS="FILENAME" >Add...</TT >, then you have to select a driver. </P ><P > Select <TT CLASS="FILENAME" >Microsoft Access Driver (*.mdb)</TT >. </P ><P > Use <TT CLASS="FILENAME" >PowerDNS</TT > as the DSN name, you can leave the description empty. </P ><P > Then press <TT CLASS="FILENAME" >Select...</TT > to select the database (ie. <TT CLASS="FILENAME" >C:\Program Files\PowerDNS\powerdns.mdb</TT >). </P ><P > Press <CODE CLASS="FUNCTION" >Ok</CODE > and you should be done. </P ><P > For more information, see <A HREF="odbc.html" >Section A.10</A >. </P ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="WINDOWS-CONFIGURATION" >3.1. Configuring PDNS on Microsoft Windows</A ></H1 ><P > You can specify program parameters in the <TT CLASS="FILENAME" >pdns.conf</TT > file which should be located in pdns directory (ie. <TT CLASS="FILENAME" >C:\Program Files\PowerDNS\</TT >). </P ><P > To see a list of available parameters you can run <TT CLASS="FILENAME" >pdns.exe --help</TT >. </P ><DIV CLASS="NOTE" ><P ></P ><TABLE CLASS="NOTE" WIDTH="100%" BORDER="0" ><TR ><TD WIDTH="25" ALIGN="CENTER" VALIGN="TOP" ><IMG SRC="../images/note.gif" HSPACE="5" ALT="Note"></TD ><TD ALIGN="LEFT" VALIGN="TOP" ><P > A default configuration file has been supplied with the installation. </P ></TD ></TR ></TABLE ></DIV ></DIV ></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="pdns-on-unix.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="running-on-windows.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Running PDNS on unix</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Running PDNS on Microsoft Windows</TD ></TR ></TABLE ></DIV ></BODY ></HTML >