| Linode Forum https://forum.linode.com/ |
|
| Having my own hostname https://forum.linode.com/viewtopic.php?f=19&t=9779 |
Page 1 of 2 |
| Author: | sami1255 [ Sat Feb 09, 2013 4:03 pm ] |
| Post subject: | Having my own hostname |
Hi, I am currently using linode dns management and use ns1.linode.com, ns2.linode.com and so on. How can we make it ns1.mydomain.com ns2.mydomain.com ? It is just a brand thing and really want to change it. Will really appreciate help. |
|
| Author: | Nuvini [ Sat Feb 09, 2013 4:38 pm ] |
| Post subject: | Re: Having my own hostname |
You'll have to set up your own DNS with something like PowerDNS or BIND and point your domains to those nameservers. You're gonna want to make sure they are properly secured though and have a few nameservers (at least 2, but Linode has 5 for example), because if you only have 1 and it drops no one will be able to resolve your domains. You can sync multiple nameservers with for example a MySQL backend as suggested here: http://visei.com/2011/08/multiple-dns-s ... plication/ Good luck, |
|
| Author: | vonskippy [ Sat Feb 09, 2013 4:51 pm ] |
| Post subject: | Re: Having my own hostname |
So do you really think you're losing clients or revenue because you don't have your own "branded" name servers? Bwahahahahahahaha. End users can't spell D N S, let alone tell you what it stands for or what it does. You're worrying about NOTHING. Running your own name servers (more accurately - keeping your own name servers secure) is major PITA - and for mere "branding" is in no way, shape, or form, worth it. |
|
| Author: | sami1255 [ Sat Feb 09, 2013 5:51 pm ] |
| Post subject: | Re: Having my own hostname |
Thanks for the replies. I understand the argument against it especially with the reliability and security. I am sorry if its a stupid question but Isn't there any 3rd party service which let me achieve it easily without much fuss ? I just don't want random client know the word linode if I tell him to update their name servers. |
|
| Author: | sednet [ Sat Feb 09, 2013 6:03 pm ] |
| Post subject: | Re: Having my own hostname |
Vonskippy is right when he says people won't notice the hostnames of your name servers. However you can add your hostnames to the linode nameservers if you really want to and you don't have to run your own DNS servers to do it. Add ns1.yourdomain.com as an A ( or AAAA ) record in your DNS records and give it the IP address of ns1.linode.com. Repeat for ns2, and so on. Now tell whoever you registered yourdomain.com with to query ns1.yourdomain.com, ns2.yourdomain.com, etc as the nameservers for your domain. Make sure your registrar uses glue records or nobody will be able to resolve anything from your domain. Now write a script that checks periodically if any of the linode nameservers change IP so you can update your DNS records, and your registrar's glue records again. The better approach is to just use linode's DNS servers. If you are trying to hide the fact you are hosted at linode it won't work in any case, anyone can whois your IP address and see linode mentioned. |
|
| Author: | sami1255 [ Sat Feb 09, 2013 7:42 pm ] |
| Post subject: | Re: Having my own hostname |
Thanks a ton sednet ! Can I then use ns1.linode.com and ns1.mydomain.com interchangeably ? Right ? |
|
| Author: | vonskippy [ Sat Feb 09, 2013 9:52 pm ] |
| Post subject: | Re: Having my own hostname |
sami1255 wrote: Can I then use ns1.linode.com and ns1.mydomain.com interchangeably ? Right ? Except now you've added a ton of overhead (ok, not really a ton) to each DNS lookup your clients make, plus a bunch (yes, a bunch) of admin overhead to make sure everything stays up to date and working - cause when it stops - your clients won't be happy not being able to browse the web, except now they KNOW exactly who to blame because it's YOUR nameservers they're pointed to. Overall, from the tech and from the business side, it's just a bad idea. |
|
| Author: | Vasudus [ Sat Feb 09, 2013 11:07 pm ] |
| Post subject: | Re: Having my own hostname |
I had the same question and I had found an earlier thread too. My motive of getting a "ns1.mydomain.com" name server was this: I wouldn't have to tell the Domain registrar to update their information every time I changed hosts. But from what I see, it looks they have do have to change things no matter, because they need the new IP address (the glue?). Is that right? Secondly: It looks like a custom name server cannot be done without using paid services. Correct? In any case, if its a big hassle, I should just do the norm and use ns1.linode.com etc. |
|
| Author: | sami1255 [ Sun Feb 10, 2013 5:11 am ] |
| Post subject: | Re: Having my own hostname |
Quote: It looks like a custom name server cannot be done without using paid services. Correct? I never got myself to learn proper linux networking but if I can achieve custom nameserver and use linode as my host I am willing to pay extra. Can someone elaborate on this bit ? Thanks |
|
| Author: | sednet [ Sun Feb 10, 2013 1:25 pm ] |
| Post subject: | Re: Having my own hostname |
vonskippy wrote: Except now you've added a ton of overhead (ok, not really a ton) to each DNS lookup your clients make It's added zero DNS overhead. In the normal, recommended scheme, assuming we are resolving for www.yourdomain.com: The user client ( the customer ) asks their local DNS server to resolve www.yourdomain.com into an IP. The client side DNS server will query a root DNS server to find the correct nameserver for www.yourdomain.com. The root nameserver doesn't know so redirects to a '.com' nameserver. The client side DNS server asks a '.com' nameserver and gets referred to a Linode nameserver. The client side DNS server asks the Linode nameserver and gets an authoritative answer. In my renamed DNS server scheme: The user client ( the customer ) asks their local DNS server to resolve www.yourdomain.com into an IP. The client side DNS server will query a root DNS server to find the correct nameserver for www.yourdomain.com. The root nameserver doesn't know so redirects to a '.com' nameserver. The client side DNS server asks a '.com' nameserver and gets referred to ns1.yourdomain.com, which is the same actual server as ns1.linode.com. The client side DNS server asks the Linode nameserver and gets an authoritative answer. There is no different in amount of DNS traffic at all except that the whole scheme will fall apart of the .com nameservers don't have a glue record for ns1.yourdomain.com. vonskippy wrote: , plus a bunch (yes, a bunch) of admin overhead to make sure everything stays up to date and working - cause when it stops - your clients won't be happy not being able to browse the web, except now they KNOW exactly who to blame because it's YOUR nameservers they're pointed to. This is fair criticism. What I suggested was a way that it would be technically possible to use what appear to be your own nameservers. This comes at a cost in manageability which should be balanced against the business requirements. Sometimes business requirements are irrational. In just about every place I've ever worked I see random dictates from PHB types who require all sorts of things that they don't fully understand. I could see one of these types who knows next to nothing about DNS coming up with the requirement that the DNS servers you use must have the company name in them then refusing a budget to buy a few cheap servers to run BIND on. |
|
| Author: | sednet [ Sun Feb 10, 2013 1:33 pm ] |
| Post subject: | Re: Having my own hostname |
sami1255 wrote: Quote: It looks like a custom name server cannot be done without using paid services. Correct? I never got myself to learn proper linux networking but if I can achieve custom nameserver and use linode as my host I am willing to pay extra. Can someone elaborate on this bit ? Thanks If you want to pay extra the best way would be to buy two more low end linodes and run bind on them. Loads of people on here run their own nameservers and would be helpful with setup questions. You can fake running your own name servers by manipulating your domain records but this comes with extra administration and extra complexity. You should only do this if you really need to, and there are no technical reasons I can see for needing too. I only ever said it was possible, not that it was a good idea. |
|
| Author: | vonskippy [ Sun Feb 10, 2013 3:26 pm ] |
| Post subject: | Re: Having my own hostname |
My bad on the DNS overhead - thanks @sednet for correcting that (and for the clear explanation). I was thinking it was redirecting each lookup, instead with this method you're just sticking your name on someone elses name server ip (which is kind of slimy - someone else does all the work and you claim it). |
|
| Author: | sweh [ Sun Feb 10, 2013 4:52 pm ] |
| Post subject: | Re: Having my own hostname |
vonskippy wrote: My bad on the DNS overhead - thanks @sednet for correcting that (and for the clear explanation). I was thinking it was redirecting each lookup, instead with this method you're just sticking your name on someone elses name server ip (which is kind of slimy - someone else does all the work and you claim it). Even if you ran your own nameserver, which I do... Client looks up www.example.com; doesn't know it, so asks "com" for where to do to find "example.com", finds the nameservers (ns1.example.com, ns2.example.com), then asks "ns1.example.com" nameserver for the www.example.com address. It's exactly the same traffic, whether you use linode nameservers, or your own. (A second lookup for email.example.com will know to go directly to ns1.example.com because the NS record will be in the local cache). |
|
| Author: | Vasudus [ Sun Feb 10, 2013 8:24 pm ] |
| Post subject: | Re: Having my own hostname |
Sorry I dont know much about domains/DNS. Just to clarify: If I have custom name servers, and I change webhosts, does the domain registrar need new information? For example do they need the new IP addresses of the name servers? Or is it that the only information they need is "n1.domain.com" and so when I change webhosts, the domain registrar wont have to be asked to make any changes. Correct? |
|
| Author: | glg [ Sun Feb 10, 2013 11:45 pm ] |
| Post subject: | Re: Having my own hostname |
Vasudus wrote: Sorry I dont know much about domains/DNS. Just to clarify: If I have custom name servers, and I change webhosts, does the domain registrar need new information? For example do they need the new IP addresses of the name servers? Or is it that the only information they need is "n1.domain.com" and so when I change webhosts, the domain registrar wont have to be asked to make any changes. Correct? incorrect. think about this a little further and you'll realize the chicken/egg issue. how exactly is it supposed to know where n1.domain.com is without an IP being registered? Circular dependency, which is the whole point of glue. |
|
| Page 1 of 2 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|