Discussion:
dns bind 9.2.1 not working on Windows XP ?
John Oliver
2002-12-19 02:11:21 UTC
Permalink
I want to use bind to lookup DNS names.
Not to bake cookies?
So I don't want my web browser to use my ISP's dns servers.
Why not?
I want my web browser to use my local dns bind server.
Why?

Just use your ISPs name servers. That's what they're there for. You
don't have to run your own just to be l33T.
--
John Oliver, CCNA http://www.john-oliver.net/
Linux/UNIX/network consulting http://www.john-oliver.net/resume/
*** sendmail, Apache, ftp, DNS, spam filtering ***
**** Colocation, T1s, web/email/ftp hosting ****
M***@isc.org
2002-12-19 02:28:00 UTC
Permalink
Hi,
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.
"Could not start the ISC BIND service on Local Computer."
"Error 1067: The process terminated unexpectedly."
I want to use bind to lookup DNS names.
So I don't want my web browser to use my ISP's dns servers.
I want my web browser to use my local dns bind server.
I also tried starting 'named.exe' with the -f option ?
When I run named.exe it just says run me with -f
Not much help/options are there huh ?
HELLLPP ! :)
--
http://www.mycgiserver.com/~skybuck
http://skybuck.soshost.net
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ***@isc.org
m***@csi.hu
2002-12-19 04:14:58 UTC
Permalink
Post by John Oliver
So I don't want my web browser to use my ISP's dns servers.
Why not?
Because they are unavailable often (Time Warner, Bell South). What is
wrong with having a caching server on my box?

Mate
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Danny Mayer
2002-12-19 04:40:15 UTC
Permalink
Hi,
http://www.isc.org/products/BIND/bind9.html
I unpacked it and installed it without modifieing anything.
"Could not start the ISC BIND service on Local Computer."
"Error 1067: The process terminated unexpectedly."
named won't start without a valid named.conf file. There are plenty
of Web pages that will tell you how to do this.
I want to use bind to lookup DNS names.
Then you will need to change the list of nameserver listed in your
Network control panel (if your ISP is not supplying them) to point
to your own DNS otherwise the apps won't use it. Then you
need to stop the DNS Client Cache to prevent it interfering with
resolving requests.
So I don't want my web browser to use my ISP's dns servers.
I want my web browser to use my local dns bind server.
See above
I also tried starting 'named.exe' with the -f option ?
When I run named.exe it just says run me with -f
You can only run with the -f or -g option from the command line.
You cannot do it as a service.
Not much help/options are there huh ?
The message should get fixed.

Danny
HELLLPP ! :)
--
http://www.mycgiserver.com/~skybuck
http://skybuck.soshost.net
M***@isc.org
2002-12-19 05:52:48 UTC
Permalink
Post by M***@isc.org
Hi,
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.

Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ***@isc.org
Kevin Darcy
2002-12-19 22:37:13 UTC
Permalink
Post by John Oliver
I want to use bind to lookup DNS names.
Not to bake cookies?
So I don't want my web browser to use my ISP's dns servers.
Why not?
I want my web browser to use my local dns bind server.
Why?
Just use your ISPs name servers. That's what they're there for. You
don't have to run your own just to be l33T.
Having a bad day, John?

There's nothing wrong with wanting to run your own caching nameserver. All
of the Unix boxes around here are configured with local caching
nameservers. They don't consume much in the way of resources and this way,
we don't have to spend a fortune on big honking dedicated nameservers,
because the query loads are reasonable...


- Kevin
Danny Mayer
2002-12-20 04:21:44 UTC
Permalink
Post by Danny Mayer
I want to use bind to lookup DNS names.
Then you will need to change the list of nameserver listed in your
Network control panel (if your ISP is not supplying them) to point
to your own DNS otherwise the apps won't use it. Then you
need to stop the DNS Client Cache to prevent it interfering with
resolving requests.
What is DNS Client Cache... I saw that running as a windows XP service... ?
It's a Client side cache for the DNS resolver.
Post by Danny Mayer
So I don't want my web browser to use my ISP's dns servers.
I want my web browser to use my local dns bind server.
See above
I also tried starting 'named.exe' with the -f option ?
When I run named.exe it just says run me with -f
You can only run with the -f or -g option from the command line.
You cannot do it as a service.
What does the -f option do ? :)
You use it or -g to run named in the foreground, in Windows case not
as a system service.

Danny
Danny Mayer
2002-12-21 03:24:40 UTC
Permalink
Post by M***@isc.org
Post by M***@isc.org
Hi,
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.

Danny
Post by M***@isc.org
Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
Danny Mayer
2002-12-22 00:08:51 UTC
Permalink
Post by Danny Mayer
Post by M***@isc.org
Post by M***@isc.org
Hi,
I downloaded the binary kit for windows NT/2000 from this
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
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

Continue reading on narkive:
Loading...