Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Aug 24, 2012 4:41 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
Hi

I have setup wildcard domains on other DNS managers for some time now... e.g. *.mysubdomain

This works fine everywhere else, and is required for a system we have that can create websites on the fly with chosen subdomains (we cant manually add in every sub domain everytime!).

When I try to add this on Lindes DNS I get: Invalid hostname '*.mysubdomain'

(obviously my subdomain is something else).

So does it mean Linode will not accept wildcard subdomains?? Everyone else I use does. I have had to revert to another DNS manager but ideally I want to keep them all in Linode.

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Aug 24, 2012 4:54 am 
Offline
Senior Member

Joined: Sun Apr 26, 2009 3:37 am
Posts: 72
Website: http://wiggenhorn.org/
The workaround is to go to the main DNS Manager page and "Add a domain zone" named subdomain.domain.com. Then create a wildcard entry for * in that new zone.


Top
   
PostPosted: Fri Aug 24, 2012 5:00 am 
Offline
Senior Member

Joined: Mon Sep 12, 2011 3:29 am
Posts: 63
ICQ: 1081190
Website: http://kyhwana.org
AOL: kyhwana
Location: New Zealand
You can add *. You can't do "*.subdomain". You'll have to add the subdomain as another zone, then add * as the record.


Top
   
PostPosted: Fri Aug 24, 2012 5:08 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
amityweb wrote:
Hi

I have setup wildcard domains on other DNS managers for some time now... e.g. *.mysubdomain

This works fine everywhere else, and is required for a system we have that can create websites on the fly with chosen subdomains (we cant manually add in every sub domain everytime!).

When I try to add this on Lindes DNS I get: Invalid hostname '*.mysubdomain'

(obviously my subdomain is something else).

So does it mean Linode will not accept wildcard subdomains?? Everyone else I use does. I have had to revert to another DNS manager but ideally I want to keep them all in Linode.

Thanks


I do not agree that a wildcard is the only option, you could absolutely add the new subdomains in an automated way (Linode API if using the linode service with it being the master, dynamic updates if using bind as a master, etc).

However, I do agree that it's a completely unnecessary limitation in the dns manager, the limitation being fairly similar to that of viewtopic.php?f=7&t=9300#p53391.
I guess I should add it to my list of strangeness at: viewtopic.php?f=7&t=8932#p51363.


Top
   
PostPosted: Fri Aug 24, 2012 5:23 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
I forgot to say that the sub domain IS already added as a sub-domain... so mysubdomain.mydomain.com DOES work and is pointed to the IP, but I need to add *.mysubdomain.mydomain.com (so I assume a hostname entry of *.mysubdomain).

So are you saying I need to add the full sub-domain as a new domain entry (zone record??)? I have several, it looks untidy this way.

We are not going to use the API, this is too much unnecessary work when DNS managers have the facility to add a wildcard. It makes no sense to develop this into our system to get around the Linode limitation.

For info, I am using Cloudflare for this domain now. I did not want to use Couldflare because I could see no speed benefit in using them, which is the point of using them, so wanted to come back to Linode, but cant.

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Aug 24, 2012 5:27 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
amityweb wrote:
We are not going to use the API, this is too much unnecessary work when DNS managers have the facility to add a wildcard. It makes no sense to develop this into our system to get around the Linode limitation.


I did not mean that suggestion as a way to get around the Linode limitation specifically but rather as a way of avoiding wildcard records in the first place.


Top
   
PostPosted: Fri Aug 24, 2012 5:32 am 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
Oh ok... we dont want to avoid wildcards though, it works a treat. Is there any reason we should? We create websites on the fly often and then delete them, for live sites and development reasons. Makes sense for us that all the sub-domains we create just work already. Also... I assume using the API if an entry is added we have to wait for the DNS to propagate?? If so then that is definitely why we need wildcards, because we need it to work immediately, we cant wait for DNS to propagate.

Thanks

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Aug 24, 2012 1:24 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
amityweb wrote:
So are you saying I need to add the full sub-domain as a new domain entry (zone record??)? I have several, it looks untidy this way.

Yes, that's what they're saying (assuming I'm understanding you right), and yes, it looks untidy. It's a limitation of the DNS manager. Could be worse.

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
PostPosted: Fri Aug 24, 2012 2:31 pm 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
Ok thanks. I'll use an alternate DNS manager that supports it.

_________________
Web Development Agency in South Wales


Top
   
PostPosted: Fri Aug 24, 2012 2:36 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
If they're all the same IP just add one wildcard at the top level. It works for sub sub sub domains too.

*.domain.com means any.thing.domain.com will resolve along with sub.domain.com

-Chris


Top
   
PostPosted: Fri Aug 24, 2012 2:41 pm 
Offline
Senior Member
User avatar

Joined: Thu Jul 12, 2012 3:55 pm
Posts: 133
Website: http://www.amitywebsolutions.co.uk
thanks, but they are not, I have a lot of 1st level sub domains pointing to different IPs.

_________________
Web Development Agency in South Wales


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


Who is online

Users browsing this forum: No registered users and 2 guests


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