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

We are trying to set up Windows DNS for our nameservers and

Is is possible to catchall domain names using those nameservers in Windows DNS instead of creating individual forward lookup zones for every domain we wish to host in IIS.

share|improve this question
up vote 1 down vote accepted


If you're DNS servers are not authoritative name servers for the domains you host web sites for, you don't need to worry about DNS.

All you need to do, is configure an A record (aka. Host record) for and point it to the public IP of the web server.

I'm not sure I understand your question. If you are setting up DNS servers for internal use (answering lookups from local machines with internet access), this is what you need

  1. Create forwarders on each DNS Server.
  2. Check "Disable Recursion" if you want all queries forwarded (instead of root hint lookups).

Now, all queries for domains for which you do NOT have a forward lookup zone OR a conditional forwarder, will be forwarded to the "default" servers configured in step 1

share|improve this answer
Thanks for your response. We are using the server to host Internet sites in IIS. For example, if "" uses our name servers (above) and so does "" - can we catch them both with a single forward lookup zone and point any requests to our localhost. We have tried disabling recursion but this also disables our forwarder so the server cannot resolve any domain names locally. Hope that makes sense - we're pretty new to this. Thanks again. – Tom Grant Mar 2 '12 at 16:16
I think you're a bit confused about the role of DNS vs. the web server. – Mathias R. Jessen Mar 2 '12 at 16:20
Probably. If we add a forward lookup zone for "" and configure it to point to localhost and the domain uses our nameservers - we can visit that domain in a browser and be directed to our webserver - that works great. However, we want to avoid adding lookup zones for every domain by using a wildcard - if possible? – Tom Grant Mar 2 '12 at 16:24
That is what we usually do for sites however we will also be hosting mail, ftp etc and to keep it simple for customers with their own domains (we just wanted to provide them with two nameservers instead of just creating individual records) – Tom Grant Mar 2 '12 at 16:30
If you just want it to answer for and not, you could configure a zone for .com and add a wildcard record... But please don't to that - it would be considered malpractice, since you don't have authority over .com – Mathias R. Jessen Mar 2 '12 at 16:31

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.