Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 05, 2009 9:25 am 
Offline
Newbie

Joined: Sat Sep 05, 2009 9:19 am
Posts: 2
Hey guys,

Been using Linode for about a year but this is the first time ive posted here so before I ask, I'd like to thank Linode for the great service.

Essentially for about the last 3 months Ive had the Linode DNS Manager doing all the work for my domain. However I now need to setup a wildcard subdomain but not quite sure how to do it.

At the moment, the DNS manager is in-charge of domain.tld (with about 10 A Records on it). However I'd like to setup another A record that will do *.sub.domain.tld, I thought i't would be as simple as putting *.sub but clearly thats not the case. Would be pretty grateful if someone could give me a hand with this.

Cheers, Adam


Top
   
 Post subject:
PostPosted: Sat Sep 05, 2009 11:06 am 
Offline
Newbie

Joined: Sat Sep 05, 2009 9:19 am
Posts: 2
Nevermind, Got it sorted with a little help from HoopyCat on IRC. Although I'll post the solution here for anyone looking at in future.

At the time of posting, even though BIND is capable of doing it no problem, the Linode Manager does not support this. The only way to do it is to create another zone.

1. Go to the main page of the DNS Manager and create a new zone with the 3rd level domain as the hostname. I.E. Your current setup is that you have zone with domain.tld. Create one with sub.domain.tld. Make sure you set to leave it empty.

2. Go back to your original domain.tld and add some new NS records. at the moment, you will have:
Code:
ns1.linode.com - domain.tld
ns2.linode.com - domain.tld
ns3.linode.com - domain.tld
ns4.linode.com - domain.tld


You now need to add another 4 as such:
Code:
ns1.linode.com - sub.domain.tld
ns2.linode.com - sub.domain.tld
ns3.linode.com - sub.domain.tld
ns4.linode.com - sub.domain.tld


3. After doing this go back to your newly created zone and you should be able to create an A record with * as the subdomain, making the full adress *.sub.domain.tld. This will make it point to the IP address you typed in no matter what someone puts in place of the asterisk.

Hope, this is helpful to someone at some point. :)

Cheers, Adam


Top
   
 Post subject:
PostPosted: Fri Sep 25, 2009 8:55 am 
Offline
Newbie

Joined: Wed Jun 17, 2009 3:30 pm
Posts: 3
AOL: necine
Skyride,

Just going into Linode's DNS manager, and adding an A record with * pointing to your linode IP wont work? I just tried that and am going to be testing it soon.


Top
   
 Post subject:
PostPosted: Fri Sep 25, 2009 11:00 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
If you have "example.com" as a zone, it won't allow you to add records that are more than one level away -- for instance: bar.example.com is allowed, but not foo.bar.example.com. To do that, you need to add "bar.example.com" as its own zone in the DNS Manager, and then add records to it.

Also, since both example.com and bar.example.com are being served by the same nameservers, adding those NS records in the subdomain zone isn't necessary (but still recommended).

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group