Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Apache running on Windows 7. Now I'm trying to get Bind DNS working.

Here is my file

; BIND data file for local loopback interface
$TTL 604800
@ IN SOA (
                              1 ; Serial
                         604800 ; Refresh
                          86400 ; Retry
                        2419200 ; Expire
                         604800 ) ; Negative Cache TTL
@ IN A
ns IN A

and my named.conf file:

options {
directory "c:\named\zones";
allow-transfer { none; };
recursion no;

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

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

I'm doing this pretty blindly, as I don't know what 'ns' in '' and 'root' in '' should be replaced with in the file. When I go to it just takes me to instead of

Any ideas what's wrong?

share|improve this question
To what avail do you install all this on Windows where you can simpler get it on Linux? This is where it was designed for. – mailq Oct 10 '11 at 19:50
Perhaps there is not a Linux server readily available, or they simply have more familiarity with Windows and don't want to spend days learning a whole new operating system just to get a DNS server online. BIND works just as well on Windows as it does on Linux once it's configured properly. – Justin Scott Oct 11 '11 at 5:42

Check and remove from hosts-file

Restart Bind

Verify if Bind listen on 53 port

 > server localhost
share|improve this answer

Your named.conf lists the domain as but the SOA record in the file lists which doesn't match up. Change the SOA record in file to and restart BIND (or reload its configuration).

Essentially what you're doing here is defining start of authority on a hostname of the zone rather than the zone itself. Without a proper SOA record for the zone, BIND will be unable to load the configuration for the zone properly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.