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

My domain is on one server and I wanted to put wildcard DNS settings for another server.

Basically I have two servers and I want all the wildcard to go on second server, how can I do that?

share|improve this question

Assuming that you're using Bind, that your server has the ip, the other server has the ip and that your main server is named, you just need to add the following lines to your configuration: 300 IN A
* 300 IN A

If you use tinydns, these are the config lines:

Both configurations will set a 300 seconds TTL to each record.

You can find more info about Wildcard DNS Records here.

Hope this helps!

share|improve this answer
To improve future performance, once you work out the bugs, you will want to increase the ttl to several hours or longer. A short ttl will mean users of your site will have to perform frequent dns queries to get the proper ip. – cpbills May 24 '10 at 19:49

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.