Bind 9.3.2 install help


Recommended Posts

Hey

Im trying to install BIND 9.3.2 on a windows2003 server and need some help getting around some problems im having

Ive installed bind, and its in the windows/system32/dns/bin folder and i want to run it to create the key file and stuff, but when i goto run any file it says:

"the system cannot execute the specifed program"

and Services when i try to start the ICS BIND service it says 'The Application has failed to start because the application configuration is incorrent'

and im pretty sure i have the named user setup right with permissions

I havnt used bind before and im well... in a bit of a bind lol

Link to comment
https://www.neowin.net/forum/topic/520391-bind-932-install-help/
Share on other sites

OK.. I would agree BIND is better than MS dns.. but since you have a 2k3 server, and you have never used BIND.. why is that you want to use it vs the built in dns, that all you have to do is click go???

Why would you make setting up name services harder for yourself?

Be happy to help you get BIND running on a 2k3 machine.. but I just do not understand why someone that has not used bind before -- would have reason to do so??

MS dns is more than capable of providing dns to thousands of machine, and works quite well.. Unless you had specific reasons, or specific features you needed.. Since you have a 2k3 server, it makes no sense to not use the dns that is part of your OS..

btw -- why would you be setting up 9.3.2? 9.3.3 is the current version ;)

I work at this IT place and my boss is trying to get bind to work on a server of his.

He had done it previously but cant remember how :p

Oh yea and i think it is the current version, just might of typed it wrong

Can you give me a like a rundown of how to install the program? Cause i think thats where we have gone wrong and maybe thats why its giving that 'The Application has failed to start because the application configuration is incorrent' problem

ive looked in the PDF manual on the bind site and cant find anything in it

Edited by subzer00

OK, this might be a bit complicated -- so hold on! ;)

1) Download the binary kit - http://ftp.isc.org/isc/bind9/9.3.3/BIND9.3.3.zip

2) Unzip to a directory - lets say c:\inst-bind

3) Read the readme1st.txt file

4) Follow the instructions given in that file.

5) Read the docs on how to use bind

notes:

Make sure you give the named service account permissions to where you installed

Did you create a rndc key?

Did you create your named.conf file? example of one

--

options {

directory "c:\windows\system32\dns\namedb";

allow-query { any; };

};

zone "example.com" {

type master;

file "example.com.db";

};

--

did you create your zone file? example of one..

--

$TTL 86400

@ IN SOA dns1.example.com. hostmaster.example.com. (

2001062501 ; serial

21600 ; refresh after 6 hours

3600 ; retry after 1 hour

604800 ; expire after 1 week

86400 ) ; minimum TTL of 1 day

IN NS dns1.example.com.

IN NS dns2.example.com.

IN MX 10 mail.example.com.

IN MX 20 mail2.example.com.

IN A 10.0.1.5

server1 IN A 10.0.1.5

server2 IN A 10.0.1.7

dns1 IN A 10.0.1.2

dns2 IN A 10.0.1.3

ftp IN CNAME server1

mail IN CNAME server1

mail2 IN CNAME server2

www IN CNAME server2

--

Did you verify these files with named-checkconf.exe and named-checkzone.exe ?

Start bind

Do a query to make sure its working..

; <<>> DiG 9.3.3 <<>> @127.0.0.1 www.example.com

; (1 server found)

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 680

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL:

;; QUESTION SECTION:

;www.example.com. IN A

;; ANSWER SECTION:

www.example.com. 86400 IN CNAME server2.example.com.

server2.example.com. 86400 IN A 10.0.1.7

;; AUTHORITY SECTION:

example.com. 86400 IN NS dns1.example.com.

example.com. 86400 IN NS dns2.example.com.

;; ADDITIONAL SECTION:

dns1.example.com. 86400 IN A 10.0.1.2

dns2.example.com. 86400 IN A 10.0.1.3

;; Query time: 0 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Mon Dec 11 17:21:47 2006

;; MSG SIZE rcvd: 141

Please post the details of what is not working - and be happy to help.. But to be honest, if you have never used Bind.. you really might be better off just using the built in windows dns.

If the services is not starting - look in your event log for errors.. Most likely I would guess you do not have the files setup, or forgot to give the named account - or whatever account you used when you installed permissions.

we are still having a few problems with getting BIND to run

we did pretty much everything, extracted the files, run BINDInstall and all that and it makes all the files

but then when we goto make a key with rndc that executable program and all the other ones just wont run.

Tried coping the files over from a working bind on another server but that didnt work either

also looked in the event viewer but that tells us nothing, just the same error msg we get

were a bit stumpted on what to do

  subzer00 said:

were a bit stumpted on what to do

how about posting the actual error you get in the event log.. so we have "something" to work with - other than you saying it does not work.. I know its crazy -- but thats really not a lot to work with ;)

I am sure there will be more than 1 entry in the log.. if it is not working, since it will put in info to what is happening as it starts up..

what do you mean rndc-confgen.exe will not run? How are you running it -- do you get an error like this, what is the output when you try and run it?

C:\named>rndc-confgen.exe -a

rndc-confgen: unable to create "C:\WINDOWS\system32\etc\rndc.key"

How are you trying to start named? From the commandline - with debug flag? The service - how?

You mad no mention of the checking the permissions, etc..

if rndc-confgen -a can create what it wants, it will give this output

C:\named>rndc-confgen.exe -a

wrote key file "C:\WINDOWS\system32\etc\rndc.key"

What output do you get - other than "it does not run" ??

Have you looked at the named.run log??

example.. I have not setup anything, just downloaded it and ran it from the extracted dir..

with the command named -f -d 1

this is the log it created in the same dir I ran it from called named.run

12-Dec-2006 20:52:31.687 starting BIND 9.3.3 -f -d 1

12-Dec-2006 20:52:31.687 found 1 CPU, using 1 worker thread

12-Dec-2006 20:52:31.687 loading configuration from 'C:\WINDOWS\system32\etc\named.conf'

12-Dec-2006 20:52:31.687 none:0: open: C:\WINDOWS\system32\etc\named.conf: file not found

12-Dec-2006 20:52:31.687 load_configuration: file not found

12-Dec-2006 20:52:31.687 loading configuration: file not found

12-Dec-2006 20:52:31.687 exiting (due to fatal error)

What are the outputs of named-checkconf and checkzone

Stumped about what to do???? :wacko: So you said you work at a IT place?? What exactly do you do there?? Make copies for people? Get coffee? If you want people to help you - give them INFO to work with!! Stating it does not work -- is not a lot of help! ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.