EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Software Development Software Development Tutorials Software Development Basics DNS Types
 

DNS Types

DNS Types

Introduction to DNS Types

DNS (Domain Name System) types are defined as an automatic process that converts the domain name to its corresponding IP(Internet Protocol) address or number so that web browser can understand which web page we want to access on the internet, it is a central part of the internet which provides a way to match a website that we are looking for and the address of the website we are looking for, anything (laptop, tablets, mobile phones, website) connected to the internet has an IP address, when a URL is typed into a browser then DNS server returns the IP address of web server which is associated with that name.

 

 

Top 3 Types of DNS

There are three DNS types :

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

1. DNS queries

DNS query is also known as a DNS request. So, it is a request for information that is sent from the user’s computer to ask for the IP address to a DNS server. This means the DNS client is querying the DNS server to get the IP address, related to that domain.

Three types of queries occurs in DNS query:

  • Recursive Query: Recursive query is a type of query in which the DNS server will do all the job of answering the users. In recursive query DNS server querying to the other DNS server on behalf of the user. When the user requesting by asking name to the server, the server performs complete translation and the user directly gets the IP address of the domain.
  • Iterative Query: In an iterative query, the user can request repeatedly to the different DNS servers for resolution. It means iterative DNS query is a request for a website or URL, DNS server responds with the IP address, if the server does not have the requested IP address then request forwarded to other DNS server.
  • Non-Recursive Query: The non-recursive query is a query in which the DNS Resolver already knows the answer. That either immediately returns the DNS records or queries the name server which is authoritative for the records, because that stored in local cache, immediate response to be given to the user.

2. DNS Servers

DNS servers convert domain names into IP addresses. It takes request from human and converts that into machine IP addresses that make easier to reach the origin server.

  • DNS Resolver: DNS resolver is also called a recursive resolver, it converts hostname into IP address which is machine friendly. This server is designed to receive queries from web browsers and other applications. This resolver receives a hostname in the form of www.sample.com and also responsible for tracking the IP address for that hostname.
  • DNS Root Server: Root servers are the DNS name servers that are operated in the root zone, root zone is the stored record of queries so that server can directly answer the query from the root zone or cache within the root zone. The DNS uses 13 DNS servers and that is based on a constraint of Internet Protocol version 4.
  • Authoritative Name Server: The authoritative name server is the higher level in DNS. The DNS server is the ‘authoritative’, the authoritative name is given to the specific hostname because it holds the up-to-date information about that hostname.

3. DNS Records

DNS server created a DNS record to give important information about the domain or hostname and its current IP address.

The common DNS record types are –

  • Address mapping record (A record): Address mapping record is known as ‘A record’, it is a host of DNS record which stores a hostname and its corresponding IP address, it means that to provide the IP address associated with the domain name. It is a type of DNS record .
  • IP version 6 address record (AAAA record): Internet Protocol version 6 record is the second type of DNS record and is also called as ‘AAAA record’. The ‘AAAA record’ stores the information of hostname and IP address related to version 6.
  • Canonical Name Record (CNAME record): The Canonical name record is shortened as ‘CNAME’. The ‘CNAME’ maps one domain name to other, for example, the ‘CNAME’ record can map the web address which is taken to the actual website.
  • Mail Exchanger Record (MX Record): Mail exchange record is called an MX record. It represents the mail server that is responsible for accepting email messages on behalf of the domain name, all the emails sent to the recipients first will be sent to the mail server with the IP address and then the recipient gets that email.
  • Name Server Record (NS Record): The name server record is shortened as an ‘NS Record’. It specifies the domain name of the name server. This record is present at the top of your domain, these are public and these types of records are store only at specific locations.
  • Reverse-lookup pointer record (PTR Record): A reverse-lookup pointer record is also known as a PTR record. It provides a domain name that is associated with an IP address. It is opposite to the ‘A record’. The PTR record is used in the lookup of DNS.
  • Certificate Record (CERT Record): The certificate record is shortened as ‘CERT Record’. It stores the encrypted certificates and provides information to the authentic recipients only.
  • Service Location (SRV Record): The service location records store the data about location (i.e. hostname, port number) in the domain name server. It is a DNS resource record that is used to locate domain controllers for the active directory.
  • Text Record (TXT record): A text record is the type of DNS record that contains text information for sources outside of the domain, also carries machine-readable data such as encryption, sender policy, etc.
  • Start of Authority (SOA Record): The start of authority record is a type of DNS record that contains information about DNS zone files, domain serial number, and especially regarding zone transfer, its format is specified in RFC 1035.

Conclusion

In this article, we conclude that the DNS types play an important role in a computer network; it is beneficial for anyone who is using the computer. The hostname is for human use and the IP address is for the machine attached in the network, DNS converting numeric IP addresses to hostname and back.

Recommended Articles

This is a guide to DNS Types. Here we also discuss the introduction and top 3 types of DNS along with an explanation. You may also have a look at the following articles to learn more –

  1. DNS Interview Question
  2. DHCP vs DNS
  3. DNS Amplification Attack
  4. Node.JS DNS

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA Login

Forgot Password?

🚀 Limited Time Offer! - 🎁 ENROLL NOW