allows you to interact with devices on the Internet without having to remember long strings of numbers. Each computer on the Internet has its own unique address, known as an IP address, just like every home has a unique address for sending direct mail.188.8.131.52 is an IP address consisting of four sets of numbers extending from 0 to 255 separated by a period. It’s not easy having to remember this complicated collection of numbers every time you want to access a website, which is where DNS comes in handy.geeksforgeeks.org can be remembered instead of184.108.40.206.
DNS Record Types
However, DNS isn't just for websites, and there are many other types of DNS records as well. We ’ll go through some of the most common ones you ’re likely to encounter.
A Record –
For illustration,220.127.116.11 is an IPv4 address that these entries resolve to.
AAAA Record –
For illustration, 2506470020681abc6 resolves to an IPv6 address.
CNAME Record –
For illustration, the subdomain name of Geeksforgeeks’s online shop ismarketing.geeksforgeeks.org, which gives a CNAME record ofmarketing.shopify.com. To determine the IP address, another DNS request will be sent tomarketing.shopify.com.
MX Record –
These records point to the servers that handle the email for the domain you're looking for. For illustration, the MX record response forgeeksforgeeks.com would look likealt1.aspmx.l.google.com. There's also a priority sign on these documents. It instructs the client in which order to try the servers. This is useful when the primary server fails and the email needs to be sent to a backup server.
TXT Record –
TXT records are text fields that can be used to store any text- based data. TXT records can be used for a variety of things, but one of the most common is to identify the server that has the authorization to send an email on behalf of the domain( this can help in the fight against spam and fake email>
. They can also be used to verify domain ownership when registering for third- party services.