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'm on a Windows 7 VM with Apache. I'm trying to get Bind DNS setup to route subdomains to the same place as the main domain. The main domain routes correctly to as specified in the hosts file. But the subdomains are still routing to the

I haven't added anything to the httpd.conf because I don't *think I need to. Here are my bind files. Any ideas of what might be wrong? I'm also not sure what 'hostmaster' should be changed to, if anything, in the zone file.

/etc/named file:

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

zone "." IN {
    type master;
    file "";

#allow-transfer { none; };

# Use with the following in named.conf, adjusting the allow list as needed:
key "rndc-key" {
    algorithm hmac-md5;
    secret "Rha8Z8AKxOeg+asqZQ==";

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

zones/ file:

$TTL 6h
@   IN SOA (
            86400 )

@       NS
*   IN A
share|improve this question

migrated from Oct 10 '11 at 11:20

This question came from our site for professional and enthusiast programmers.

You need to specify an NS. Then it should work. an A record for the NS is what I meant. Nevermind I just read what you put down, you can't be your own ns at least not initially. and you are missing several ";".

share|improve this answer
Could you clarify? I'm not sure what you mean. And where am I missing colons? – 99miles Oct 10 '11 at 2:39

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.