Domain Names

Please find below our list of Domain Names guides to help with your hosting account.

How to setup and manage your own nameservers

This article was posted in: Domain Names

We recommend you use our nameservers (ns1.krystal.co.uk and ns2.krystal.co.uk) but if you would prefer to use your own nameserver addresses, such as ns1.mynameserver.com and ns2.mynameserver.com then read on.

Important Note: i.e. If you don't actually want to run your own DNS servers, but simply want to create mynameserver.com and ns2.mynameserver.com as an alias for ns1.krystal.co.uk and ns2.krystal.co.uk then be aware that if our DNS server IP addresses change in the future, then you will need to repeat this procedure to update your domain GLUE data otherwise all domains that are assigned to your nameservers will cease to resolve. If we plan to change our nameserver IP addresses we will publish this in our blog/facebook etc, and will notify all customers that hold a reseller hosting account by email.

If you want to use your own nameserver addresses (e.g. ns1.mynameserver.com and ns2.mynameserver.com) then there is some preparatory work that must be done in order for them to work correctly.

a.) Configure GLUE data for your nameserver addresses (the rest of this article takes care of this.) - this should be done before you go any further, so proceed to Step 1 below.
b.) Change your domain's nameservers to its own (the ones you just created!). If your domain is with Krystal, please read How to assign nameservers to a domain. Otherwise you must use the tools made available by your existing domain registrar.
c.) Add an "A" DNS record for each of your domain's nameserver addresses in the domain's zone file - you do this using the Advanced DNS Zone Editor icon in cpanel.
d.) Contact us to change your domain's "NS" DNS records to point at your new nameserver addresses as this cannot be done using the cPanel tools.

The aim of the rest of this article is to GLUE your ns1 and ns2 nameservers hosts to our nameserver IP addresses:

  • 77.72.0.11
  • 139.162.230.184

NOTE for .uk domains : Unfortunately our client area does not currently allow you to configure GLUE data for .uk domains, but we can do this for you - just raise a support ticket, telling us your NS names and IP addresses (if you want to simply shadow our nameservers, just say so, we won't need any IP addresses, just your nameserver names).


Step 1 - How to add GLUE data for non .uk domain names

Log into your Krystal client area at http://krystal.co.uk/client and then click on the DOMAINS menu item.


Click on the green Domain name for the domain you are adding namesevers for.


Click on the Nameservers menu item on the left of the screen.


Adding GLUE data for a new nameserver

On this screen you can add, modify or delete glue data for your domain. Only enter the hostname of your nameservers here (i.e. just ns1 and not ns1.mydomain.com). if you are setting up your reseller nameservers using our physical nameservers then you will be adding GLUE data for each of these IP addresses:

  • 77.72.0.11
  • 139.162.230.184

The example shows a new GLUE entry for mynameserver.com being added for nameserver ns1.mynameserver.com at 77.72.0.116. Don't forget to click the Save Changes button.


What is GLUE data and why do things break without it?

When you lookup a website name, let's say www.krystaldemo.co.uk, this is a simplified explanation of the process (assuming the domain isn't cached by your ISP)

  1. Your PC asks your ISP's DNS server for the IP address of www.krystaldemo.co.uk.
  2. Your ISP (if it hasn't cached the information) then goes to the .uk root nameservers and asks who is responsible for krystaldemo.co.uk.
  3. The .uk root nameservers return the answer - ns1.krystal.co.uk is responsible.
  4. Your ISP then has to work out the IP address of ns1.krystal.co.uk, so it asks the .uk root servers who is responsible for krystal.co.uk.
  5. The .uk root nameservers return the answer - ns1.krystal.co.uk is responsible.

Your ISP's DNS is then stuck, because it can't work out the IP address of ns1.krystal.co.uk


So how does it work with GLUE data?

Using the same example as above (looking up www.krystaldemo.co.uk).

  1. Your PC asks your ISP's DNS server for the IP address of www.krystaldemo.co.uk.
  2. Your ISP (if it hasn't cached the information) then goes to the .uk root nameservers and asks who is responsible for krystaldemo.co.uk.
  3. The .uk root nameservers return the answer - ns1.krystal.co.uk is responsible AND they give the GLUE data, which is the IP address of ns1.krystal.co.uk.
  4. Your ISP then asks ns1.krystal.co.uk directly, using its IP address, for the IP address of www.krystaldemo.co.uk.
  5. Our DNS answers and gives the IP address for the website www.krystaldemo.co.uk back to your ISP.
  6. Your ISP now returns the completed query back to your PC, so your PC now knows the IP address of the Krystal web server that holds your website.
  7. Your PC now connects to the correct web server IP address and requests your website.
  8. Your website is served!