dns bind 9.2.1 not working on Windows XP ?

Danny Mayer mayer at gis.net
Sun Dec 22 00:08:51 UTC 2002


At 12:34 PM 12/21/02, Skybuck Flying wrote:
>"Danny Mayer" <mayer at gis.net> wrote in message
>news:au0n03$2ocf$1 at isrv4.isc.org...
> >
> > At 09:44 PM 12/19/02, Skybuck Flying wrote:
> > ><Mark_Andrews at isc.org> wrote in message
>news:atrn59$egg4$1 at isrv4.isc.org...
> > > >
> > > > > <Mark_Andrews at isc.org> wrote in message
> > >news:atrb4f$dmpp$1 at isrv4.isc.org...
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I downloaded the binary kit for windows NT/2000 from this
>website:
> > > > > > >
> > > > > > > http://www.isc.org/products/BIND/bind9.html
> > > > > > >
> > > > > > > I unpacked it and installed it without modifieing anything.
> > > > > >
> > > > > > Well that's your problem.  You didn't configure it.
> > > > > > 'named' requires a configuration file.
> > > > >
> > > > > Well duh.
> > > > >
> > > > > Someone, I wont say who, said it who run out of the box.
> > > >
> > > > No version of named will run w/o a config file.  The simplest
> > > > config file is a empty file which is a caching server open to
> > > > everybody using the Internet's root servers.
> > >
> > >Thx for the tip, I tried it but it doesn't work :)
> > >
> > >I still get the same error with an empty named.conf file.
> >
> > No it can't work that way. For Windows Mark was wrong since you
> > are running it as a system service. Unless you configured the
> > system service to run under and account and have given that
> > account a default login directory, it will fail. You need at a very
> > minimum the following lines in your named.conf:
> >
> > options {
> > directory "C:/Windows/System32/dns/etc";
> > };
> >
> > or whereever you want to put subsequent zone, logging, etc. files. I don't
> > know where you installed BIND so you need to adjust the directory name
> > as appropriate. When BIND starts, it needs to write the named.pid file
> > somewhere and this is the default location. Note that the directory needs
> > to be writeable in order to write this file. You should also be looking at
> > the application event log to find out what errors are being generated as
> > they go there by default.
>
>I tried all combinations.
>
>I have c:\bind
>
>and then I ran the install program and I have
>
>c:\windows\system32\dns\bin
>c:\windows\system32\dns\etc
>
>I put a named.conf file with the options.
>
>It still doesn't work, I still get the same error.
>
>There are no logfiles.

As I told you by default BIND uses the application event log. The errors will
be in there. If you are not familiar with the event viewer now's the time to do
so. To get to it, go to the "My Computer" icon and right click and select
Manage.... Somewhere in the MMC Window you will see Event Viewer.
Select that and then select the Application Log. You will find the BIND
error messages in there.

Danny



More information about the bind-users mailing list