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

This is sort of a specific DNS question.

How (if possible) would one do to create a record like this


Where * is a wildcard, is this even possible?

share|improve this question
up vote 3 down vote accepted

Sort of. Windows DNS supports wildcards, so can be created. It also supports, even with the hyphen it is works as foo-* But Windows DNS doesn't support putting the wildcard at the beginning or the middle of the DNS name, only as they only character in the host name or at the end of the host name.

What you would need to do is have everything else under setup statically, but setup * as the hostname as your catch all for everything. You might need to change your DNS so that the -foo portion is a subdomain under so your DNS record looks like * That or do some tricky stuff in your router/load balancer/web server.

share|improve this answer
Thank you very much for the answer, but we decided to take the easy route and just statically add all the records since we didn't have too many anyway. – Lars Dec 30 '11 at 12:06

In addition to the above question, it's worth noting that you're also able to have a wildcard covering literally everything. You just create a root primary zone which has the domain as simply .. Then, within this, you can just do a * to instruct it where to go. Anything connected to these DNS servers will then be pointed to the same server.

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.