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.
  • Posts

    • I've got a basic black and white laser printer that's connected via USB and doesn't do wifi etc. I think I'm going to be just fine.
    • Edge 138 is out with AI-powered history search and other changes by Taras Buria Microsoft has released Edge 138, the latest major update for the browser. Version 138.0.3351.55 introduces some interesting changes and new features, such as AI-powered history search. There are also several bug fixes and security patches. For regular users, the biggest and most important change in Edge 138 is AI-powered history search. This feature allows you to find sites in your history using synonyms, phrases, or misspelled words. Microsoft uses an on-device model, which does not send your data anywhere. Note that this feature is rolling out gradually, which means it might take a few days or weeks to show up on your system. Another useful change is new performance notifications. Performance and Extensions Detector notifications may appear in the main menu when the browser detects performance dips to help users learn about available performance-optimization tools. Autofill settings received a new consent toggle, which allows Microsoft to improve the autofill capabilities by collecting field names as you browse. This only applies to field names, such as "First Name, "Email," etc. It does not send the data you enter or autofill to Microsoft. Other changes include the following: Use the Primary work profile as the default profile to open external links. With this feature, for Windows, Edge checks if the Primary Work Profile exists and makes it the default profile for opening external links if available. Microsoft 365 Copilot Chat Summarization in Microsoft Edge Context Menu. This feature helps users quickly unpack and ask questions about their open page. Copilot on the Microsoft Edge New Tab Page (NTP). Users may see suggested work and productivity-related Copilot prompts in their search box on the NTP page. Adding support for viewing Sensitivity labels applied to a Microsoft Information Protection (MIP) Protected PDF. Enterprise customers can view sensitivity labels applied to MIP protected PDF to be well informed of the data classification to enable them to handle such sensitive documents. And here is what was fixed: Fixed an issue that caused WebDriver automation to fail in Microsoft Edge versions 133 and later. Fixed an issue where re-enabled textarea elements remained non-editable. This issue affected activating a role assignment in Privileged Identity Management. Finally, Edge 138 patches six security vulnerabilities, three of which were Microsoft Edge-specific, and the remaining three originated from Chromium. You can find details about those fixes here. The next Microsoft Edge update, version 139, is expected in the week of August 7, 2025.
    • “Never trust any statistics that you didn't forge yourself.”
    • Per the linked article: "Based on testing performed by Microsoft in December 2024 using Geekbench 6 Multi-core score comparing a selection of Windows 10 PCs with Intel Core 6th, 8th, and 10th generation processors and Windows 11 PCs with Intel Core 12th and 13th generation processors." I get that this is just advertising and all, but damn, I can smell the BS all the way over here. How about benchmarking 10 vs 11 on that same 13th gen processor? Apples and oranges make a lovely fruit salad but a terrible comparison. I mean shoot, my Windows 10 PC running a Ryzen 7 is faster than a Core2Duo running Windows 7, so Windows 10 is clearly faster. 🙄
    • KB5060829 installed in a test VM and the option isn't even there under "Taskbar behaviours". Installed it on a second VM, same. Installed it on metal... same. Typical quality of Nadella's Microsoft. If i doesn't shrink the taskbar vertical height down as @seeprime is implying, what's the point?
  • Recent Achievements

    • Week One Done
      suprememobiles earned a badge
      Week One Done
    • Week One Done
      Marites earned a badge
      Week One Done
    • One Year In
      runge100 earned a badge
      One Year In
    • One Month Later
      runge100 earned a badge
      One Month Later
    • One Month Later
      jfam earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      562
    2. 2
      +FloatingFatMan
      177
    3. 3
      ATLien_0
      168
    4. 4
      Michael Scrip
      125
    5. 5
      Xenon
      121
  • Tell a friend

    Love Neowin? Tell a friend!