<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Running PDNS 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="UP" TITLE="Installing on Microsoft Windows" HREF="windows.html"><LINK REL="PREVIOUS" TITLE="Installing on Microsoft Windows" HREF="windows.html"><LINK REL="NEXT" TITLE="Configure database connectivity" HREF="configuring-db-connection.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="windows.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 3. Installing on Microsoft Windows</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="configuring-db-connection.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="RUNNING-ON-WINDOWS" >3.2. Running PDNS on Microsoft Windows</A ></H1 ><P > If you installed pdns on Windows NT, 2000 or XP you can run pdns as a service. </P ><P > This is how to do it: Go to services (<TT CLASS="FILENAME" >Start->Settings->Control Panel->Administrative Tools->Services</TT >) and locate <TT CLASS="FILENAME" >PDNS</TT > (you should have registered the program as a NT service during the installation). </P ><P > Double-click on <TT CLASS="FILENAME" >PDNS</TT > and push the start button. You should now see a progress bar that gets to the end and see the status change to 'Started'. </P ><P > This is the same as starting pdns like this: <TT CLASS="FILENAME" >pdns.exe --ntservice</TT > </P ><P > If you haven't registered pdns as a service during the installation you can do so from the commandline by starting pdns like this: <TT CLASS="FILENAME" >pdns.exe --register-service</TT > </P ><P > You can run pdns as a standard console program by using a command prompt or <TT CLASS="FILENAME" >Start->Run...</TT > This way you can specify command-line parameters (see the documentation for commandline options). </P ><P > If you chose to add a PowerDNS menu to the start menu during the installation you can start pdns using the pdns shortcut in that menu. </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="windows.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="configuring-db-connection.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Installing on Microsoft Windows</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="windows.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Configure database connectivity</TD ></TR ></TABLE ></DIV ></BODY ></HTML >