DNS stands for Domain Name Server is the way to maintain a directory of domain names and translate them to corresponding Internet Protocol (IP) addresses which are constantly kept up to date. This is necessary and useful because although people easily remember the domain names, computer or machine access websites based on IP addresses.
It also enables website owners to change their web hosts without changing domain names and also can simply change the DNS entry for their domain and point to their new web host’s name servers.
When you request a domain name through the internet, your computer tries to know where on the internet that domain is situated. It first checks its internal DNS cache to see if it’s used recently.
If not then your system sends the request to the DNS containing the name of the domain for getting this information with numeric IP address from the DNS. Then your computer proceeds to connect to that address.
It’s the fundamental part of the Domain name system and act as a specialized server on the internet that handles queries or questions from your local computer, about the location of a domain name,’s various services. In a simple way, name server keeps the record of your domain name’s DNS entries as phone book analogy.
For example, if your name server hosted on my Span web host, then its name server be like:
Each domain name must have at least two name servers because if primary server doesn’t respond then the secondary server will respond.
Note: The Registrar is the organization from which you register your domain name and get the address of your website. The Web Host is the company that avails the space on a computer which is directly connected to the Internet, that holds the files that make up your website. It’s just like landlord of your website.
How to change name server:
Domain registrar able to access the domain owners to change your name server and the name servers would be changed in order to change where you are hosting your websites. If your domain name is registered with one domain registrar and website is hosted with another web hosting service then here you can change DNS name server by current domain registrar and point to your web host name servers.
For example, if your domain registered with Bluehost registrar and your website hosted with GoDaddy web hosting, then here you change your name server according to your web hosting service through Bluehost registrar.
Modify your name server:
Let’s take an example of Bluehost web host.
Step 1: Login to your Bluehost account.
Step 2: Click on the domain link.
Step 3: Choose your domain name from the list of domains.
Step 4: Then click on name server button.
Step 5: Select Use Custom Nameserver.
Step 6: Enter in the new name server.
Step 7: Click Save Name server settings.
How to modify your DNS Record:
Step 1: Login to your Bluehost account.
Step 2: Click on the domain.
Step 3: Then move on zone editor to access the editor page.
- Modify an existing DNS record:
Step 4: Select the domain from the drop-down domain.
Step 5: Under the zone file record finds the host records you wish to modify.
Step 6: Click the edit button, if you need to any change and then click Save.
- Add the new record:
Step 7: Under Add DNS record, first enter the desired record name in the host record field.
Step 8: Don’t change anything in the TTL (TIME-TO-LEAVE) field. Because it values is the default.
Note: Time to Live is intend how long it will be until your computer refreshes its DNS related information.
Step 9: Select the proper type for your application.
Step 10: Mention the corresponding name server you want to in the field Points To.
Step 11: Click on the Add Record button to create the record.
A record (Address record) is the most basic type of DNS record and points a domain or subdomain to an IP address and that are most often used record type in any DNS configuration. It stores information about the host name record for your domain name. It’s used to find the address of a computer that is connected to the internet from a name.
Host Record: Here @ to point the record directly to your domain name, including the www.
Points to IP Address: Here the IP address of your domain name uses for this host record. These records point traffic from nameserver.com (indicated by @) to the IP addresses 18.104.22.168
CNAME Record stands for Canonical name record, is a type of resource code in the domain name system used to indicate that a domain name is an alias for another domain name and points a name to another name, instead of IP addresses.
From above screenshot, those records point imap.mail.nameserver.com to mail.nameserver.com, www.nameserver.com to nameserver.com.
MX Record stands for mail exchanger record which is a type of resource record in the DNS that responsible for handling the email messages on behalf of a recipient’s domain. MX records for a specified domain name how email should be routed with the Simple Mail Transfer Protocol. It always points to a domain which contains local IP address to the server.
How to add a new MX Record:
- Under the Add DNS Record enter the domain name you are modifying in the field of Host record.
- Leave the TTL field at its default setting.
- Select MX from the dropdown Type menu.
- In points to field enter the domain name instead of IPaddress.
- Priority field indicates the order in which the MX entries are applied.
- Click on the add record button.
7. In the email, routing field chooses Automatically Detect Configuration. Note: The email routing setting finds out how outgoing mail is handled for a specified domain.
Local Mail Exchanger: If the domain mail is hosted by the respective web host, even if the domain uses the third party name server.
Remote mail exchanger: If the domain mail is handled by the third party email server.
Automatic Detect Configuration: If you are not sure then the server will decide if the setting should be local or remote based on the MX record.
Social Media References: