Lunarpages Web Hosting Forum

Specialized Hosting Needs and Services => Dedicated Web Hosting at Lunarpages => Topic started by: abhilash on August 01, 2005, 11:41:16 PM

Title: Registering private nameservers
Post by: abhilash on August 01, 2005, 11:41:16 PM
NOTE : The below instructions apply only for customers under dedicated (and some reseller customers who requires private nameservers) hosting plan.

Why should I register nameservers ?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


If you do not register nameservers for the site on the dedicated server, instead we would be required to maintain an A record on our nameservers to point your website to your dedicated server's primary IP. If you plan to use our nameservers nsx.lunarpages.com, what happens here is, each time you need to create a subdomain, or a parked domain or addon, you would need to contact us.

Since registering your own nameservers should be absolutely free with your domain name registrar, we encourage users to do this.  It also associates all content for search engines and domain searches via your primary domain as well as facilitates faster lookups for the domains on your server and quicker resolving for connections to your sites.


Technical reason
=-=-=-=-=-=-=-=-=


To avoid the classical chicken-egg problem. Let me *try* to explain how.

There is no technical need to tell the registry if the name servers are not in the domain (i.e when you are hosted on our shared servers).  The only thing the parent NS needs to know in this case is the NAME of the name servers (because they can be looked up using the DNS. i.e ns1.lunarpages.com will be looked up using DNS).

As all of you are aware, nameserver is a server/service whose primary duty is to map a computer usable identifier (IPs / numbers) of a system or host to a human usable identifier for that host (domainname.com), and vice versa  To explain why, I need to start with DNS system

Let's see how the DNS system works,

a) You are accessing lunarpages.com. The browser passes the request to DNS Client present on your machine, which looks the local cache for an IP of lunarpages.com. If we get IP from cache, then the process is complete.
b) If the IP is not in the cache, DNS client service uses a nameserver list (usually provided by ISP and ordered as primary, secondary and tertiary) to query external DNS servers. When a DNS server receives a query, it first checks to see if it is authoritive for that domain name. If it is authoritive, it resolves the name, and the process is complete.
c) Else, a process called DNS recursion takes place at ISP's nameserver, where the recursor asks root nameservers the IP of lunarpages.com. The IPs of root nameservers are mapped to the host name. (/var/named/named.ca on your server)
eg: It asks for IP of lunarpages.com at A.ROOT-SERVERS.NET. resolved to 198.41.0.4
d) The root server replies with a delegation, meaning roughly: "I don't know the IP address of lunarpages.com, but I do know that the DNS server at 192.5.6.30 has information on the com domain."
e) The local DNS recursor then asks that DNS server (i.e. 192.5.6.30) the same question it had previously put to the root servers, i.e. "what is the IP address for lunarpages.com?". It gets a similar reply - essentially, "I don't know the address of lunarpages.com, but I do know that the DNS server at 216.193.194.212 has information on the lunarpages.com domain."
f) Finally the request goes to this third DNS server (216.193.194.212), which replies with the required IP address.

See the attachment for a complete trace of DNS Query made from my local system.
 
So in Step e) how did 192.5.6.30 (one of the root server for .com domains) got the IP of ns1.lunarpages.com as 216.193.194.212 ? They gets the IP only when we register the nameservers.

If you notice, lunarpages.com have nameservers as ns1.lunarpages.com and ns2.lunarpages.com and ns1.lunarpages.com is a subdomain of lunarpages.com. As you know subdomains, won't get resolved without getting the nameservers of primary domain.

So here we are in a chicken-egg situation. We need the IP address of ns1.lunarpages.com to resolve the IP address of lunarpages.com and without knowing how to contact the nameservers of  lunarpages.com, we won't be able to get the IP address of ns1.lunarpages.com. That is when we need to regsiter the nameservers. We say at the root level nameserver database that ns1.lunarpages.com has the IP 216.193.194.212 and we are using them as nameservers for the primary domain.

Most registries/registrars require seperate registration of the nameservers beforehand you change the nameservers.

Registering name servers makes them available for lookup by anyone on the Internet. If name servers are not registered then no one outside your network will know they exist and registrars (e.g. Network Solutions, Register.com, etc.) will not let you point domain names to them.

Another situation where we need to register the domain is as below,

1stdomain.com  uses nameservers as ns1.2nddomain.com and ns2.2nddomain.com ..while 2nddomain.com uses the  nameservers as ns1.1stdomain.com and ns2.1stdomain.com. So what happens here,  is that the resolution goes on for a loop which is called DNS gluelessness in the technical terms. To avoid such situations also, we strongly recommend you to register your private nameservers. To help you out in registering nameservers, we include howto's on registering your private nameservers for four popular domain registrars.  Please note that these howto's are based on the control panel interface of the domain registrars at the time of this writing.

OpenSRS
=-=-=-=-=

                                                                               
For registering the nameservers,

1. Login to https://manage.opensrs.net
2. Click the "Manage Nameservers" link or change the address to
https://manage.opensrs.net/index?action=manage_nameservers
3. Scroll down to see "Create nameserver"
4. Server Hostname as --> ns1 and Server IP as primary nameserver info, we sent you.
5. Repeat the process for ns2 also with  IP  of secondary nameserver,.
6. Once you did that, choose "NameServers" in the top menu and change the
primary and secondary nameservers.
                                                                               

Network solutions
=-=-=-=-=-=-=-=-=-=


To create or update your name servers:                                                                                 
1. Log in to Account Manager
2. Click on the domain name for which you want to register or edit a DNS server (only domain names may be selected to Add/Edit DNS Servers)
3. Click on the Edit link to the right of Designated DNS (if you have already assigned custom DNS to this domain) OR click on the Edit link to the right of Custom DNS Setting (if this is the first custom DNS for this domain)
4. In the Move DNS To A New Name Server section, click on the Continue button
5. Confirm that you want to move your name servers by clicking on the button
6. Type the name of the first new name server in the Name Server 1 text box, or select an existing name server from the drop down menu
7. Type the name of the second new name server in the Name Server 2 text box, or select an existing name server from the drop down menu
 a. If you want to add additional name servers, click on the Add More Name Servers button and type the new name servers in the appropriate text box(es) then click on the Continue button
 b. For each new name server, type the associated IP address in the Please Input Name Server IP Address text box then click on the Continue button
8. Carefully review the DNS changes and if correct, click on the Save DNS button
                                                                         
Your name server(s) has been created or updated.

RegisterFly
=-=-=-=-=-=

                                                                               
1. Login to RegisterFly at https://registerfly.com/scripts/account.php
2. After logging to the Domain Manager, avert your eyes downward the left of the page, to see POPULAR OPTIONS and the submenu option mentioned "Register a nameserver". ( Access it directly at https://registerfly.com/scripts/nameserver.php )
3. On the page that loads, you can see "Check status of a name server registration" and also "Register a Name Server"
4. Scroll down to see the section "Register a Name Server".
5. In the first input box, where it says "Name Server:" put the nameserver name (default wll be NS) to use for your private nameservers. You may need to change it ns1 or anything you like and choose your domain from drop down box.
6. In the next input box, add your IP address that you assigned you for your primary nameserver.
7. Click Submit
8. To create the secondary nameserver, repeat steps 5 through 7.
9. Once you have successfully created your own nameservers, you may need up to 72 hours for them to fully propagate, before changing the nameservers of your domain to the private nameservers,you just registered.
10. You can check the status of Nameservers registered anytime, using the "Check Status of a name server registration". But I won't rely on the results.

If you don't see the "Register a Name Server" under POPULAR OPTIONS, you may need to take a long route to reach the page.
                                                                               
Manage Domains --> Your Domains --> Check the domain you want to create your Nameservers --> Modify Selected Domains --> Modify DNS. You will see the below message in the top of the page that loads
                                                                               
You are doing a Bulk change for Modify Name Servers (DNS):
Select the name server you would like to use, if you are unsure it is recommend you use Registerfly.com's name servers. You cannot enter an IP ADDRESS as the name server. It must be a fully qualified and registered name server. To create a nameserver, please click <<here>>

Go Daddy
=-=-=-=-=

                                                                                                                             
1. Log into your Go Daddy account by clicking on the "My Account" link located just below the menubar of the webpage.
2. Good! Now that you have logged into your account, select the "Manage Domains" menu item from the "Domain Names" drop down menu located on the left side of the webpage.
3. Below the "Domains Names" menu, select the domain for which you will be creating nameservers. Here you will use,
4. In the bottom right hand corner of the webpage (you may have to scroll down), expand the "Domain Host Summary" box by clicking on the "+" icon.
5. Click on the "Click here to see details or to modify" link below to begin creating the your nameservers.
6. On the right side of the webpage, enter the host name of your first name server in the entry box labelled "Host". The most common names are "ns1" or "dns1".
7. Just below, add the IP of the nameserver in the "IP Address" entry boxes.
8. Now create the nameserver by clicking on "Add New Host".
9. You will need to create at least 2 nameservers. To create a second nameserver, repeat steps 6 to 8. Common practice dictates that the second nameserver will be named "ns2" or "dns2".
10. The last part of the ip address of the second nameserver will be incremented by 1 to the IP of ns1.domainname.com
11. At this point you could add additional nameservers but it is not required. To save your nameservers, click on "Save Changes".

Register.com
=-=-=-=-=


1. Log into Account Manager at: https://new.register.com/retail/myaccount/productdisplay.rcmx
2. Click on the domain name for which the changes are to be made.
3. Click on the Advanced Technical Settings link and select "Manage Registered Name Servers"
4. Scroll down to the "REGISTER NAME SERVER" section and enter the desired prefix (ns1) for the DNS Server that you wish to register.
5. In the next field enter the IP Address (A Record) for the DNS Server you entered as mentioned in the welcome email.
6. Click Continue to confirm the DNS Server registration
7. Repear the steps for the creating second nameserver ns2.domainname.com

eNom.com
=-=-=-=-=


1. Go to www.enom.com
2. Click on "my enom"
3. Login
4. Click "Domain Names"
5. Click "Register DNS"
6. Enter ns1.yourdomainname.com in the "NameServer" Box
7. Enter the IP address given for NS1 in the "IP Address" Box
8. Click "submit"
9. Repeat the steps for the ns2 domain (with the IP address given for ns2)

More howtos on registering nameservers at different registrars will follow, and you are welcome to post a howto on  registering nameservers at your registrar.. Meanwhile, if you have any question, please let us know.

We now have flash based tutorials for registering private nameservers at different registrars. Access them all at http://www.lunarpages.com/tutorials/ (Dedicated Hosting Tutorials --> Creating Private Nameservers )

Melbourne IT
=-=-=-=-=-=-=


1. Login to the Domain management portal. The URL as of today (Oct 1st 2006) is 
https://www.melbourneit.com.au/cc/maintenance/displayLoginPage?lid=imh-manage
2. Now look for the Name Server Details and a subsection named Name Server Functions. This actually  has the URL which links to  https://www.melbourneit.com.au/maintenance/nameserver/
3. Add the new nameserver in the page that loads. You will see a page having the option to add the nameservers

New Name Server

Host Name       IP Address           Add

4. Input hostname as ns1.domainname.com and it's IP as sent in the Welcome Email.
5. Repeat the same for ns2.domainname.com as well.

It must show the newly registered nameservers below in the same page, which gave you the option of registering the nameservers. Now you are done and wait for the propagation.

Added enom.com, 8th July 2006 - Stephan
Title: Re: Registering private nameservers
Post by: skamfroj on August 26, 2006, 11:04:16 PM
this is a good guide.. thanks.
Title: Re: Registering private nameservers
Post by: GarveysIT on August 27, 2006, 12:48:09 AM
wicked info! thanks!
Title: Re: Registering private nameservers
Post by: jkotuby on September 12, 2006, 07:22:36 AM
Hi,
This is a reply to abhilash regarding the original post, which conains very useful information indeed about why we must register private name servers.

Our company has as of August 21 2006 leased a Windows dedicated server from LunarPages. I have not had any experience with an "unmanaged" hosting server before so this is an entirely new learning experience.

We have had a problem with the name servers resolving our domain names even though I had properly registered the nameservers ns1.dmedi.net and ns2.dmedi.net with our domain registrar.

The problem occurred because the domain itself, dmedi.net, was still being hosted on a different managed dedicated server with a hosting company other than LunarPages. It appears that the A and NS records needed to be also located on the server that was actively hosting the "live" site. We have not yet moved the site and are still evaluating the wisdom of hosting a critical business Web Service/SQL Server application on an unmanaged dedicated server. I have concerns about firewall security, which I will address in another post.
A technician took the time to walk me through the process of adding A records and NS records (with PLESK) on the LunarPages server such that we changed the Nameservers to match a non-critical domain that was indeed being hosted on that same server.

Now the DNS resolution works properly.
Title: Re: Registering private nameservers
Post by: Karapoto on October 29, 2006, 11:14:43 PM
My registrar is TUCOWS INC, how can i do to register private nameserver?


Thanks.
Title: Re: Registering private nameservers
Post by: Anthony_S on October 30, 2006, 04:17:26 AM
Hi Karapoto,

You may follow the OpenSRS portion of this tutorial if Tucows is your domain registrar.

I hope this helps.
Title: Re: Registering private nameservers
Post by: jacksenechal on February 09, 2007, 09:29:39 PM
Hi, I'm setting up my VPS, and trying to figure out the nameserver setup. This post is exactly what I needed, thanks.

One question, though. You say that when creating the nameserver record in my registrar, the second nameserver will have an IP that has the last number incremented by one from the first.

The problem is, I was only given one IP address with my VPS. The next address clearly points to someone else's VPS, because it shows the default page of cPanel when I go there with the browser (I'm using plesk). So I DEFINITELY don't want to use that IP for ns2.

Can I use just the one IP, and point both to it?
Title: Re: Registering private nameservers
Post by: Anthony_S on February 10, 2007, 06:04:45 AM
Hey,

For VPS, you would use the same IP for both ns1 and ns2 records when setting up your nameservers and you shouldn't have any issues in doing so.

If you have anymore questions, feel free to post back!
Title: Re: Registering private nameservers
Post by: GrrrlRomeo on March 10, 2007, 04:00:40 AM
When I try to use the same ip address for both on NetworkSolutions I get this error:

Name Server IP Addresses may not be the same.

And it says I must enter at least two nameservers
Title: Re: Registering private nameservers
Post by: GrrrlRomeo on March 10, 2007, 04:03:54 PM
I figured it out. After step 1 in the instructions above for Network Solutions, you need to go to "Manage Host Servers" and add your private nameservers with your ip address there. Then you can proceed with step two.
Title: Re: Registering private nameservers
Post by: perestrelka on March 11, 2007, 02:37:46 AM
Hello GrrrlRomeo,

Thank you for sharing a fix for this kind of setup.
Title: Re: Registering private nameservers
Post by: rcu on April 11, 2007, 06:24:55 PM
Go Daddy
=-=-=-=-=
                                                                                                                             
1. Log into your Go Daddy account by clicking on the "My Account" link located just below the menubar of the webpage.
2. Good! Now that you have logged into your account, select the "Manage Domains" menu item from the "Domain Names" drop down menu located on the left side of the webpage.
3. Below the "Domains Names" menu, select the domain for which you will be creating nameservers. Here you will use,


Here you will use what?
Title: Re: Registering private nameservers
Post by: perestrelka on April 12, 2007, 07:39:51 PM
Quote
1. Log into your Go Daddy account by clicking on the "My Account" link located just below the menubar of the webpage.
2. Good! Now that you have logged into your account, select the "Manage Domains" menu item from the "Domain Names" drop down menu located on the left side of the webpage.
3. Below the "Domains Names" menu, select the domain for which you will be creating nameservers. Here you will use,


Here you will use what?

I believe Abhilash meant that you can proceed with the next steps by "Here you will use,". So after selecting the domain you will be working with, go to the step 4.

I hope this helps.
Title: Re: Registering private nameservers
Post by: perestrelka on June 10, 2007, 01:23:58 AM

If expertsrs.com is your domain's registrar, please see http://www.lunarforums.com/index.php/topic,41161.0.html on how to register private nameservers thorough that registrar.

I hope this helps.
Title: Re: Registering private nameservers
Post by: Animal on July 09, 2007, 03:18:36 PM
See the attached Picture :)

I have recently upgraded from a shared account to a dedicated linux box.  I was dumb when I bought this URL from "bravenet". 

I need to know what to put in the rest of the fields.  For Email servers and such.  I hate to be a pain, but I'm at a loss.  I've spent many hours on the phone with support today already, and hate to call again.  Any help is welcome.

Thanks,

-Marcus
Title: Re: Registering private nameservers
Post by: conradslater on August 27, 2007, 10:12:40 AM
I got my domain name free when I bought shared hosting with lunar pages.

I got an email telling me that now I've got VPS I need to change it and they pointed me to this thread.
Because I got my domain free  I don't know how to move or change it and I've tried both at go daddy and registerfly.com

I didn't recieve a welcome email so I've no idea which numbers to give it anyway
please help if you can
Title: Re: Registering private nameservers
Post by: conradslater on August 28, 2007, 10:10:11 AM
I got my domain name free when I bought shared hosting with lunar pages.

I got an email telling me that now I've got VPS I need to change it and they pointed me to this thread.
Because I got my domain free  I don't know how to move or change it and I've tried both at go daddy and registerfly.com

I didn't recieve a welcome email so I've no idea which numbers to give it anyway
please help if you can

Ok so I've done everything I need to I think although I get a lookup error with both ns1 and ns2 pointing to the same IP.

Title: Re: Registering private nameservers
Post by: perestrelka on August 28, 2007, 08:15:32 PM
Hi Conradslater,

I checked your DNS settings and all appears to be setup as it should to me. Are you still experiencing any issues?

Please advise.
Title: Re: Registering private nameservers
Post by: conradslater on September 07, 2007, 05:11:11 AM
Hi Conradslater,

I checked your DNS settings and all appears to be setup as it should to me. Are you still experiencing any issues?

Please advise.

all good now - but a lot of confussion would have been avoided by making this link more obvious

https://manage.opensrs.net/

thanks for your help
Title: Re: Registering private nameservers
Post by: weaintsayin on February 06, 2008, 06:15:10 AM
I'm trying to follow through the instructions here on NetworkSolutions.

The web interface does not want me to have the same IP address for NS1.mydomain.com and NS2.mydomain.com

What to do from here?
Title: Re: Registering private nameservers
Post by: perestrelka on February 07, 2008, 12:50:33 AM
I'm trying to follow through the instructions here on NetworkSolutions.

The web interface does not want me to have the same IP address for NS1.mydomain.com and NS2.mydomain.com

What to do from here?

Are you on VPS? If so, register and use only ns1.domain.com as the nameserver.
Title: Re: Registering private nameservers
Post by: weaintsayin on February 07, 2008, 01:10:10 AM
Thanks for your reply Perestrelka,

I've checked this with VPS support who said the same thing. Network Solution's web interface now forbids having only one nameserver and also forbids having two nameservers with the same IP address. I gave temporary access to Kyle Hammond in LP's support so he could check.

I've put in a ticket to Network Solutions asking them to manually set two nameservers with the same name and am waiting (waiting, waiting....) for the response.

I'll update here when I have an answer for the benefit of others.

---- Update ----

Network Solutions have manually changed my nameservers to both point to the same IP address. The did this in response to a support ticket.

It would have been nice if they'd emailed me to tell me they did it, but you can't have everything!
Title: Re: Registering private nameservers
Post by: perestrelka on February 07, 2008, 08:37:05 PM

hm.. That's is not good news and thanks for informing us and updating this post.
Title: Re: Registering private nameservers
Post by: zmedia on March 29, 2009, 02:56:06 AM
I have registered my custom nameservers with a .biz TLD at manage.opensrs.net and they are working well. But when I fill in these nameservers at my DreamHost shared hosting account, I get an error:

"Error: This has not been registered as a nameserver with the .comnet
registry. Contact the registrar of domainname.biz to do so."

Your support team does not seem to understand this, they provided me with a link to this thread. I am clueless either how achieve this, so I ask here once more again before moving my domain name to another registrar. According to the error I have to ask Lunarpages to register my custom nameservers with the .comnet registry. Can somebody from LunarPages achieve this please?

Thank you in advance!
Title: Re: Registering private nameservers
Post by: darkwolf on March 29, 2009, 10:27:48 AM

Is Dreamhost the registrar for your domain?

If they are, in this case, you would actually need to contact DreamHost if they are the registrar to have them manually add the nameservers to your domain.

Title: Re: Registering private nameservers
Post by: zmedia on March 29, 2009, 10:37:39 AM
Thanks for your advice, Troy. In the meantime LunarPages support has somehow registered my nameservers with the .comnet registry, at least the error is gone with my domain, registered at Dreamhost.

So, for the record, if somebody else gets the error that his nameservers are not registered with the .comnet registry, go to the registrar of the domain that you are using for your nameservers and keep insisting to register the nameservers with the .comnet registry.

Thanks, also to LunarPages support.
Title: Re: Registering private nameservers
Post by: vlad.panainte on October 12, 2009, 02:10:11 PM
Hi

If you have domain registered with Norid (Norvegian registrar) I hops this helps;

http://www.norid.no/regelverk/vedlegg-f.en.htm

Thank you!
Title: Re: Registering private nameservers
Post by: Majo on January 28, 2010, 05:26:17 AM
Any clue on how to do it on the other hosting company?
Title: Re: Registering private nameservers
Post by: DEddleman on January 28, 2010, 05:54:39 AM
It mostly depends upon who the other company is, and who they use for their registrar services. Note that there's only half a dozen or so registrars out there, so if you can find a solution for one, it should work for others. I used to work for another company, and they used Tucows (just like LP) for domain registration, so again, just like LP, all the domain management was done through OpenSRS.
Title: Re: Registering private nameservers
Post by: Radeon on December 08, 2010, 06:15:54 AM
So... Which of these websites am i supposed to go to? Just yesterday i got my Website set-up with Dedicated and now i have to registering private nameservers.  :-?
Title: Re: Registering private nameservers
Post by: Radeon on December 08, 2010, 01:36:49 PM
So... Which of these websites am i supposed to go to? Just yesterday i got my Website set-up with Dedicated and now i have to registering private nameservers.  :-?

I'm quoting myself, So if i got this right by reading through most of what has been said here... You use only one IP for register your domain, but in both NS1 and NS2? and that's it? Could someone verifie this?
Title: Re: Registering private nameservers
Post by: froggy1v on November 13, 2012, 06:41:06 PM
The following applies to Directnic namservers

Login to Directnic

Go to the Domain Manager
Click on the DNS icon for the website
That takes you to Modify Nameservers
Near the center of the screen is a link that states

   Create nameserver
   You must have a minimum of two nameservers for any domain.

Click on Create nameserver
That takes you to Namesaver creation and the two existing nameserver names and IP addresses
Namesaver Creation
Host Record/Nameserver   IP Address   Delete Nameserver             Modify Nameserver
NS1.SCASP.COM   209.200.237.77         Delete                             Modify
NS2.SCASP.COM   209.200.237.78         Delete                             Modify
To change the IP address you need to click on modify for each name server, and insert the new IP address in the appropriate block, you can only do one at a time.

The formatting on this may not hold, but it gives you an idea how to do it.