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 need help setting up a second level subdomain. I have set up wildcard subdomains in the past with success, but I am having trouble with the DNS entry for this one. I need to do something like


So I tried to create an A record with *.design in it but that failed. Is this possible?

share|improve this question
"It failed" is not a proper problem report. What exactly did you do (show the actual file) and what happened exactly? – bortzmeyer Jun 23 '09 at 8:48
Sorry. What I meant by "failed" is I would do a dnsstuff report on the and that would come back fine, then I ran a report on and that did not come back with any results. – easyappl Jun 24 '09 at 12:56
DNSstuff is a poor way to test a domain. The best tool is dig and, if you want a report from another site, use "It did not come back with any results" is clearly not enough information to help you. – bortzmeyer Jun 24 '09 at 18:18
up vote 5 down vote accepted

yes you can do this, you basically need a record (bind format)

* 3600 IN A x.x.x.x

or in djbdns format:

share|improve this answer
You forgot the dot at the end of * – bortzmeyer Jun 23 '09 at 8:47
and the TTL is in the wrong place too... – Alnitak Jun 24 '09 at 15:40
appreciated, should have checked the format of bind (been a while), updated my original post – Brendan Jun 29 '09 at 23:43

You did not indicate the name server you use. With BIND or NSD, which both use the RFC 1035 format for zone files, this should work:

*.design    IN   A
share|improve this answer

I believe the entry in our BIND config looked something like the following....

hostname               A    IPADDRESSHERE 
*                      A    IPADDRESSHERE 

We did this in the same zone and it worked just fine for us.

share|improve this answer
The $ORIGIN is not necessary, you can just use relative or absolute names. – bortzmeyer Jun 23 '09 at 8:49
I have been doing all our subdomains and MX records this way because of an issue we had when setting up Google Apps. Google would not validate our account unless I stuck them between ORIGIN calls. I have no explanation for it. I understand BIND administration enough to get it done without a lot of trouble, but I wouldn't consider myself an expert. – J.Zimmerman Jun 27 '09 at 7:14

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.