How to update NameServer and DNS record for LayerStack Cloud Servers

2020-07-09 By Aaron 3877 Views linux windows dns nameserver networking
3 reviews

Domain Name System (DNS) is one of the standard set of protocols that includes TCP/IP. The DNS Client and the DNS Server together provide a mechanism of the server name to IP address mapping name resolution services for servers and their users.


Name servers and DNS records are a part of DNS. Name servers are servers on the internet, that helps in handling queries regarding the different services of a domain name. They help in identifying the current DNS provider of the domain. In plain simple words, name servers translate domain names to plain IP addresses.


A domain name usually has at least two name servers and the usual format of name servers will be in the form of ns1.layerstacksupport.com & ns2.layerstacksupport.com. The name servers can be the default ones provided by the domain registrar, or they can also be custom setup name servers using a domain name.


DNS records are used to link domains to IP addresses. Different DNS records exist, such as A, MX, TXT, CNAME etc, which links the domain name to its web hosting or email hosting service providers.


Suggested procedure:

  1. Choosing or Setting up NameServer record
  2. Updating DNS record
  3. Updating Name Servers record


Choosing or Setting up NameServer


Scenario 1 - Use 3rd-party Registrar's NameServer

When a domain is purchased from a third-party domain registrar, the domain will usually be provided with the registrar's default name servers. The DNS records for a domain using third-party domain registrar name servers need to be updated/modified from the domain DNS zone provided by the registrar itself.

Scenario 2 - Use Plesk/cPanel NameServer

Updating/Modifying DNS records of a domain using its own hosting name servers, set up through Plesk/cPanel is quite much easier. All it requires is proper access to the control panel, and the DNS zone is readily available in the panel to make the changes to the domain zone. Using private name servers has also further benefits, which include making it easier to remember the name servers if they use the same domain name as well as a sense of security using the same domain name for the website as well as a name server.

Plesk: lsdns9

cPanel: lsdns10

Scenario 3 - Set up Custom NameServer inside your server

Windows: How to set up DNS Server on Windows Cloud Servers

Linux: Configuring DNS NameServer on Linux Cloud Servers


Updating DNS record

Relevant DNS records for the domain can be propagated from the DNS zone created at the DNS service provider end.


Scenario 1

If your domain uses remote third-party name servers, the DNS records must be updated at the remote DNS service provider.

Scenario 2

If your domain uses your own Cloud server name servers (name servers set up in the control panel installed in the server), the DNS records can be updated in the domain DNS zone from Plesk/cPanel.


Updating DNS records from Plesk

For updating the DNS records through the Plesk panel, the below steps can be followed.


  1. Log in to the Plesk panel of your server.

  2. Click on Domains in the left panel and then click on the domain name for which the DNS record is to be added/updated.

    lsdns1

  3. Scroll down and click on the option named DNS Settings.

    lsdns2

  4. The DNS zone shows the default DNS records that have been added for the domain. Click on Add Record to add any new DNS record for the domain.

    lsdns3

  5. The required DNS record can now be added from the Add a Resource Record to the Zone page.

    lsdns4


    Record type: Select the type of DNS record that needs to be added for the domain.

    Domain name: The exact additional hostname relative to the domain name for which the DNS record is to be added.

    IP address: The IP address to which the hostname is to be pointed.


Updating DNS records from WHM/cPanel

For updating the DNS records through WHM/cPanel, the below steps can be followed.


  1. Log in to the WHM panel of your server.

  2. Search for DNS in the search bar on the left panel and then click on Edit DNS Zone under DNS Functions.

    lsdns5

  3. Select the radio button to the left of the domain name for which the DNS records are to be added/modified and then click on Edit.

    lsdns6

  4. The DNS zone shows the default DNS records that have been added for the domain. Scroll down the page and add in the required DNS records under the section Add New Entries Below this Line.

    lsdns7

  5. The first blank field represents the exact additional hostname relative to the domain name for which the DNS record is to be added. The second field is the TTL value for the DNS record and the drop-down field can be used to specify the type of DNS record that needs to be added.

    Once the type of record is selected, a new field will show up which needs to be filled with the DNS record (IP/hostname) to which the host should be pointed.

    lsdns8

  6. Click on Save button at the bottom of the page for saving the newly added DNS records.


Updating NameServer record


Scenario 1

If you have your domain registered through the LayerStack service team, you can submit a ticket to Technical Department through HelpDesk for requesting the name server's update for your domain.

Scenario 2

If your domain is registered with any other third-party registrars, you would need to log in to their portal for updating the name servers directly.


Related Tutorials

What do you think about this article?

Rate this article

About LayerStack’s Cloud Server

LayerStack is a leading Cloud Server provider in Asia, offering high performance and reliable SSD cloud computing services in our purpose-built, Tier 3+ data centers in Hong Kong, Singapore, Japan and the United States.

Try our blazing fast cloud servers with unlimited traffic and high security NOW!

WATCH DEMO
Instant Deployment in 1 Minute.

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.