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

Q1: Does a DNS rule for * match multi-level domain names? In other words, if I just set * in my DNS records, will it match all of:

as many levels deep as needed, with just that one wildcard DNS specifier?

We have a use case for multi-level DNS and I would like to confirm that we are doing the right thing in setting one wildcard DNS setting for the root domain.

Q2: will this work with round-robin DNS?

share|improve this question
In less time than it took to write the question you could have created the entry and done a couple of nslookups to test it. – John Gardeniers Oct 10 '12 at 22:09
@JohnGardeniers: correct, I could have certainly tested it and made sure it worked, but I wasn't sure if that was the right thing to do or not. I was trying to ascertain if this was best practice. – Suman Srinivasan Oct 10 '12 at 22:31
up vote 2 down vote accepted

Q1: yes. * will match any domain above ex: etc.

Q2: This should work

If you want global pool of IP's

* IN A

* IN A

* IN A

this is ok and will work (tested in djbdns)

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.