There are 4 types of DNS records for loading a web page. DNS recursor, Root nameserver, TLD nameserver, Authoritative nameserver.
1.) DNS recursor :
Typically the recursor is then responsible for making additional requests in order to satisfy the client’s DNS query. The DNS recursor is a server designed to receive queries from client machines through applications such as web browsers.
2.) Root nameserver :
The Root server is the first step in translating (resolving) human readable host names into IP addresses. which is most important things.
3.) TLD nameserver :
The top level domain server (TLD) is the next step in the search for a specific IP address, and it hosts the last portion of a hostname ( for example : for .com the TLD server is “com”.
4.) Authoritative nameserver :
The authoritative nameserver is the last stop in the nameserver query. If the authoritative nameserver has access to the requested record, it will return the IP address for the requested hostname back to the DNS recursor that made the initial request.
What are DNS records?
DNS servers create a DNS record to provide important information about a domain or hostname, particularly its current IP address. DNS records make a domain name such as ns1.com point to a web server’s IP address like 104.131.
1.) A record :
A records are the most basic type of DNS record and are used to point a domain or subdomain to an IP address. Assigning a value to an A record is as simple as providing your DNS management panel with an IP address to where the domain or subdomain should point and a TTL.
2.) MX record :
Mail exchanger (MX) records are used to help route email according to the domain owner’s preference. The MX record itself specifies which server to attempt to use to deliver mail to when this type of request is made to the domain.
3.) CNAME record :
CNAME records are another commonly used type of DNS entry and are used to point a domain or subdomain to another hostname.
4.) SPF/TXT record :
An SPF record is a TXT record that is part of a domain’s DNS (Domain Name Service). An SPF record lists all authorized hostnames / IP addresses that are permitted to send an email on behalf of your domain.