Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 13
Members Members: 0
Total Total: 13

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
  Forum  Microsoft Tech ...  Windows Server ...  Configuring BIND on Windows Web Server 2008
Previous Previous
Next Next
New Post 8/19/2010 1:49 PM
119 posts
10th Level Poster

Configuring BIND on Windows Web Server 2008 
Modified By Walker  on 8/19/2010 1:50:27 PM)

Windows Web Server 2008 does not provide the DNS Role.  To fix this you can install BIND.  This needs some configuration work, but in general it works well.

First you have to download the BIND installer from ISC:

And download the latest version of BIND for Windows.  This is a zip file, so extract the contents of it to a temporary install folder.  Once extracted, run BINDInstall.exe.

Set the Target directory to something other than the default C:\windows\system32\dns - windows will in general stop you putting files there - change it to C:\BIND or similar.

Leave the service account name as 'named' and set a password for it.  The installer will take care of creating a low priviledge account for running the DNS service.

Make sure 'automatic startup', 'keep config files after uninstall' and 'Start BIND service after install' are checked and click Install.

Once install completes, click Exit.

Now to create a configuration, open up a command prompt and change directory to the bin directory under where you just installed BIND and type:

rndc-confgen -a

mkdir ../etc/run
mkdir ../etc/zones
mkdir ../etc/log
touch ../etc/log/named.log

This will create the basic configuration and three empty directories for the zones, logs and process id files.

Now type the following into notepad to create the basic named.conf configuration file:

options {
    directory "c:\BIND\etc";
    version "not currently available";
    pid-file "run\";
    allow-transfer { none; };
    allow-query { any; };
    recursion no;

    channel my_log{
        file "log\named.log" versions 3 size 250k;
        severity info;
    category default{

zone "" IN {
    type master;
    file "zones\";
    allow-transfer { none; };

controls {
     inet port 953
         allow {; } keys { "rndc-key"; };

In the options section be sure to set the directory to the directory where you installed BIND.  Save this file as named-basic.conf in the etc directory.

Going back to the command prompt, type the following:

cd ../etc

copy named-basic.conf + rndc.key named.conf

This provides you with the basic configuration file.  Now to create a simple zone file.

Type the following into notepad and save it into zones/

$TTL 6h
@    IN SOA (
            86400 )

@        NS
@        NS

ns1    IN A
ns2    IN A

@    IN A
mail    IN A

www    IN CNAME    @

@    IN MX 10    mail

Now save this and you have a working DNS setup.  You can add zones by editing the configration files.


Previous Previous
Next Next
  Forum  Microsoft Tech ...  Windows Server ...  Configuring BIND on Windows Web Server 2008
Send me One Million FREE Guaranteed Visitors