Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Oct 17, 2010 4:53 pm 
Offline
Junior Member

Joined: Mon Mar 16, 2009 3:38 pm
Posts: 30
Website: http://vitobotta.com
Location: Espoo, Finland
As I am now back to using Linode after suffering a while with VPS.NET (which I would no longer recommend to anybody after the unbelievable and ridiculous outages, software bugs and what have you, I have experienced with them over the past months), I needed to migrate the DNS settings for my domains from VPS.NET to Linode.

Unfortunately while Linode does support DNS zone transfers, VPS.NET does not... but luckily both have APIs which allow this among other things. So I have quickly put together a ruby script, and got all my domains migrated in a very short time.

However, I have a doubt: because, while importing, Linode API did not support the value "@" used by VPS.NET to define the default value for a host, I have omitted the "host" parameter when creating domain resources with Linode API having that value as host. The parameter in fact is optional, so I guess that omitting it would make the API set the correct default value, but now in Linode DNS manager I see something like this:

Image

Is this correct or should it show something other than an empty string?
I want to double check before chaging name servers for these domains.
Thanks


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 5:01 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
As far as I can tell, @ and <empty> are interchangeable for the hostname in Linode DNS Manager. Hit the "Render" link at far bottom to see a BIND zonefile, the empty ones should shouw up as @s there.

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 5:19 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Blank is correct.

Also, if you want to make sure everything is OK on linode's nameservers before moving over, use the dig command:

Code:
$ dig hoopycat.com @ns1.linode.com
(...)
;; QUESTION SECTION:
;hoopycat.com.         IN   A

;; ANSWER SECTION:
hoopycat.com.      86400   IN   A   97.107.134.213
(...)


Code:
$ dig hoopycat.com mx @ns1.linode.com
(...)
;; QUESTION SECTION:
;hoopycat.com.         IN   MX

;; ANSWER SECTION:
hoopycat.com.      86400   IN   MX   10 mail.hoopycat.com.
(...)


Also check @ns2.linode.com, ns3, ns4, and ns5 to make sure those are well too.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 5:28 pm 
Offline
Junior Member

Joined: Mon Mar 16, 2009 3:38 pm
Posts: 30
Website: http://vitobotta.com
Location: Espoo, Finland
Thanks, I also thought to check with dig soon after posting - thanks for the suggestion though.

Am happy to see that Linode have DNS service in London too!
Query time is great, so I have set ns5.linode.com as the main name server, followed by Neward/NS4 (which if I remember rightly still is the best option for Europe, among the other data centres), and then the others.


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 7:32 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
For what it's worth, there's no preference for authoritative nameservers... they're all equally likely to be chosen by a resolver. Same applies to having multiple A records for a name, etc.

A smart resolver will tend towards preferring the best-performing of the available nameservers, so stick all five in there.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 7:44 pm 
Offline
Junior Member

Joined: Mon Mar 16, 2009 3:38 pm
Posts: 30
Website: http://vitobotta.com
Location: Espoo, Finland
Ah OK, good to know. I was always of the impression that the order had some meaning. I added all of them anyway, in the order I said earlier but I added all of them. But for users, for instance, in London, which one would be first choice? Would it be the London one?


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 8:52 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
London would be my first guess. Of course, someone's computer could be configured to query a nameserver in California (unlikely, but possible), in which case Fremont would probably be quicker. Either way, the difference isn't much worse than a tenth of a second.

_________________
Code:
/* TODO: need to add signature to posts */


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


Who is online

Users browsing this forum: No registered users and 3 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