Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 11, 2010 6:55 pm 
Offline
Newbie

Joined: Tue May 11, 2010 6:47 pm
Posts: 3
I'm using Linode's DNS manager, mainly because I think its cool how it's integrated into the Linode iPhone app. After I set the authoritative name servers from my registrar to Linode's DNS servers, and logged into the Linode DNS manager, I noticed there was no prompt of any sort to ensure that the domain I was listing with Linode's DNS servers was actually mine.

So in other words, after I pointed mydomain.com to Linode's DNS servers, Linode's DNS manager just let me point mydomain.com to my Linode server ip.

What would prevent a person from taking control of someone else's domain whose NS is set to linode? In other words, couldn't some person set notmydomain.com, if the NS was set to Linode's DNS servers, to point to their own ip?

Thanks.


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:10 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
changstrom wrote:
In other words, couldn't some person set notmydomain.com, if the NS was set to Linode's DNS servers, to point to their own ip?

Yes. But only if the owner of notmydomain.com hadn't already created a zone in the Linode DNS Manager, which would be fairly silly. You can create any domain you want in the Linode DNS Manager as long as it isn't already in there. I'm not encouraging you to, just pointing out that you can. We can't verify ownership of a domain in any consistent way, as that doesn't scale and there's a billion cases where it wouldn't work.

If someone were to add jedsmith.org to, say, ZoneEdit or some other DNS provider, they could certainly add it and populate it with records -- however, when someone types "jedsmith.org" in their browser, the domain name system (and my registrar) says who is really the guy to ask about jedsmith.org. You could still get the bad records if you used dig to ask directly, but not in the general case. Were I ever to sign up with ZoneEdit, I would have to file a ticket with them and prove ownership before I could use their service, I guess.

So, ns1.linode.com is probably authoritative for all kinds of domains that aren't pointed at it, either through the passage of time (and people forgetting to delete zones when they move the domain) or genuine malice, which would be pretty pointless in the grand scheme.

If a domain is pointed at ns1.linode.com and friends, a responsible domain operator should have the zone populated beforehand. If someone has created your domain in our system already, before you point the domain at our nameservers file a ticket and we'll look into it. It's all in where the domain is pointed, and you cannot create duplicate zones in the Linode Manager (which is what I think you might be getting at).

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:35 pm 
Offline
Newbie

Joined: Tue May 11, 2010 6:47 pm
Posts: 3
I had prepared a post about how I wasn't really sure what your reply meant, and then I noticed you had edited it, haha. Makes perfect sense now that you mention that a duplicate entry cannot be made. Thanks for the quick response.


Last edited by changstrom on Tue May 11, 2010 7:40 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:36 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Pretty much I can see two problem cases:

1) A client points their resolv.conf directly to ns#.linode.com. As I understand it, this is a misconfiguration (the linode nameservers aren't recursive so anyone doing this won't get good information!) so isn't worth considering.

2) Someone adds myowndomain.com before I add it myself, thus preventing me from using linode DNS manager. In this case, as Jed says, it can be worked out by raising a trouble ticket and chatting with linode staff.

So, in practical day-to-day usage of DNS there's no real problem. #2 may be a problem, but until linode staff get enough tickets that it becomes worth their while (or until someone gets bored enough to work out a better implementation... never deny the power of a bored geek ;-)) the "raise a ticket" solution works.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:41 pm 
Offline
Newbie

Joined: Tue May 11, 2010 6:47 pm
Posts: 3
Yes, situation 2 was what I was concerned about, but Jed's post clears that up. :)


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:43 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
changstrom wrote:
I had prepared a post about how I wasn't really sure what your reply meant, and then I noticed you had edited it, haha. Makes perfect sense now that you mention that a duplicate entry cannot be made. Thanks for the quick response.

Yeah, I answered from a different vein initially because I read your question differently. Sorry about that.

sweh wrote:
1) A client points their resolv.conf directly to ns#.linode.com. As I understand it, this is a misconfiguration (the linode nameservers aren't recursive so anyone doing this won't get good information!) so isn't worth considering.

Hey, you could resolve anything Linode is authoritative for. The ultimate Linode walled garden?

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:45 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
jed wrote:
Hey, you could resolve anything Linode is authoritative for. The ultimate Linode walled garden?

Hush now; you'll give Apple ideas... iPhoneOS 4 only using Apple DNS servers and proxies...

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:55 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
sweh wrote:
jed wrote:
Hey, you could resolve anything Linode is authoritative for. The ultimate Linode walled garden?

Hush now; you'll give Apple ideas... iPhoneOS 4 only using Apple DNS servers and proxies...

$formerdayjob did that when I worked there, except they did it to prevent you from browsing when you hadn't paid (everything resolved to "lol you're overdue!"). That didn't last as a viable solution, partly due to my incredible talent at changing the resolver in Windows for a stunned management.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


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