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've installed BIND in my Windows server2003. i've configured the named file in C:\named\etc\named.conf as:

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

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

My zone file is configured in C:\named\zones\ as:

$TTL 6h @ IN SOA… ( 
         86400 )

@ NS

ns1 IN A mug IN A

key "rndc-key" { 
   algorithm hmac-md5; 
   secret "M0oW24WFQZhMu9wTq8qepw=="; 

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

In the above i've given the name to the domain as "tisdns". i want to create a new domain name in a different zone file. how can i create it?

share|improve this question

When you say "different domain in a different file" do you mean a subdomain of If so, you need to place NS records in your (what a name...) file and just add another domain line.

Example to add to this file:

foo NS

Then just add another zone:

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

You will then need to place the SOA and NS records in this new file for this new zone.

Oh, and since you gave us your RNDC key, change it. And perhaps learn a little about security. That is a password, and you just gave it to us.

share|improve this answer
shouldn't this be zone ""? – ptman Mar 15 '11 at 8:07
Thanks, corrected entry. – Michael Graff Jul 27 '11 at 11:10

for add a line to your named.conf:

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


$TTL 6h @ IN SOA


side note: don't forget to create a reverse dns lookup zone for your network, unless you are aware of all the problems that could arise because you don't have one.

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.