The Domain Name System, also known as DNS, refers to the large-scale system of information containing IP addresses, domain names, hosting, and other registration information across every site on the internet. Like a phone book, the DNS translates domain names to IP addresses and helps locate a website on the internet.
Why is it important?
Computers and other devices on the internet use IP addresses to route your request to access a website. Without DNS, you will have to remember complex IP addresses in accessing your site. Before this system was created, the only way people could access your website would be by typing in its IP address. Sounds complicated, right?
Because of DNS, people only need to remember your domain name when searching your website through their browsers.
DNS records act as instructions for the DNS server, so it knows which domain names each IP address is associated with. DNS records contain a lot of different syntax and commands for how the server should respond to the request.
Here are the common DNS records you will find in your control panel.
Name servers are the primary records in DNS and act as the server component. It connects the IP address to a domain name on a server. The primary function of the name servers is to translate an IP address to an easily remembered domain name and makes an IP address answer back to a domain name on a server.
For example, the IP address:
http://50.116.120.13
Resolves to the domain:
https://support.wplighthost.com
If it weren't for name servers, people would need to use IP addresses to pull up websites rather than a domain name, making web addresses a lot harder to remember.
Nameservers can be found at the Advanced tools section of the Domains tab of the Customer Portal.
On the other hand, NS records show which name servers are currently used for your domain.
Canonical name records, better known as CNAME records, serve as aliases for domain names of another canonical domain name. This record is used to indicate subdomains that might be listed under or associated with your current domain.
The most common example is when you have both 'example.com' and 'www.example.com.'
The Mail Exchange record or MX record specifies the mail server responsible for sending and receiving emails on behalf of a domain name. MX records work in conjunction with A and NS records to direct the email received for a domain name to the proper mail server.
MX records vary depending on your email host; some may have multiple MX records, such as Google Workspace, and some may only have one, like %%BRAND%%. Usually, MX records are prioritized with a number of preferences that indicate which mail servers should be used when several are listed.
Text or TXT records are custom records containing human- and machine-readable data. These records are used for various purposes, including the prevention of spoofing email attacks and validation of domain ownership, such as
TXT record
Text or TXT records are custom records containing human- and machine-readable data. These records are used for various purposes, including the prevention of spoofing email attacks and validation of domain ownership, such as Google Workspace.
TXT record
The Service record or SRV record is used to point a domain name to another domain using a specific destination port. It allows specific services, such as a VOIP (Voice over Internet Protocol) or IM (Instant Messaging), to be directed to a separate location.
Pointer or PTR records are used to resolve IPs to a domain name and vice versa. That means you can make 'wplighthost.com' point to '10.0.0.1' and make a PTR record so that '10.0.0.1,' if checked, would tell you that it belongs to 'wplighthost.com.' PTR records are used for Reverse DNS lookup. It also allows the receiver of your emails to check for possible spoofing emails, treated as spam. Without this record, the receiver must rely on guessing if your email might be spam.
The AAAA record is similar and works the same way as the A record. The only difference is it allows you to point a domain name to an IPv6 IP address.