The title says it all. I want to set *.myhost.com to IP X.X.X.X.

So I am creating a DNS type A pointing to the IP. I don't want to have to create an entry for each of my subdomains. Thanks!

link|improve this question

80% accept rate
1  
"0% accept rate" - You should work on that. – Chris S Dec 8 '11 at 4:05
Funny that some people responded and got Ups, right? – Sergio Oliveira Jr. Dec 8 '11 at 4:51
3  
Yup, they got Ups because they put in more effort than you did. – Alnitak Dec 8 '11 at 10:05
1  
@SergioOliveiraJr. Please go back and accept some answers to old questions that you've asked. People will be less likely to help you with a bad accept rate n – MDMarra Dec 8 '11 at 12:03
@MarkM Thanks Mark, done! – Sergio Oliveira Jr. Dec 13 '11 at 16:25
feedback

2 Answers

up vote 8 down vote accepted

@ refers to the current ORIGIN in your zone file, usually the domain in question.

If you did

@ IN A 172.31.31.31

in the mydomain.com zomefile, it would make "mydomain.com" resolve to 172.31.31.31.

If you did

* IN A 172.31.31.31  

then all hostnames would resolve to 172.31.31.31

link|improve this answer
feedback

Um. There's no question here. What you've said is correct, you want to make a wildcard A record for * in your domain.com zone. This is valid and correct if you choose to implement that way.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.