DNS server Last Updated : 23 Jul, 2025 Comments Improve Suggest changes 4 Likes Like Report A DNS (Domain Name System) server is a computer that helps convert human-readable domain names (like www.example.com) into IP addresses (like 192.0.2.1) that computers can use to identify each other on the internet. To understand how a DNS server works, imagine it as a large phonebook for the internet. When a website address (URL) is typed into the browser, the DNS server looks up the domain name and returns the corresponding IP address. It allows device to connect to the correct server hosting the website.How Does a DNS Server Work?DNS ServerYou enter a website address in your browser (for example, www.example.com).The browser sends a request to a DNS server to get the IP address of the website.The DNS server checks its records to find the IP address that matches the domain name.The server sends the IP address back to your device.Your device connects to the websiteâs server using the IP address and loads the page.This process happens so quickly that you donât even notice it, but without DNS servers, browsing the web would be much more complicated, as youâd have to remember the IP address of every website.Read in detail about Working of Domain Name System (DNS) Server.Types of DNS ServersRecursive DNS Server: This type of DNS server handles requests from devices and searches for the IP address if it's not in its cache. It goes through multiple DNS servers to find the correct address.Authoritative DNS Server: This server holds the actual DNS records for a domain. Itâs the final stop in the process of resolving a domain name and providing the correct IP address.Caching DNS Server: This server stores the results of previous DNS queries for a period, speeding up the process of accessing frequently visited sites.Forwarding DNS Server: This type of DNS server passes DNS queries to another DNS server, usually when it cannot resolve the query itself.DNS Server RecordsDNS servers store different types of records to map domain names to IP addresses. Some of the most common DNS records are:A Record (Address Record) maps a domain name to an IPv4 address.AAAA Record maps a domain name to an IPv6 address.MX Record (Mail Exchange) directs email to the right mail server.CNAME Record (Canonical Name) is alias for another domain name.NS Record (Name Server) points to the DNS servers for the domain.TXT Record stores text information often for email security.Why Use a DNS ServerDNS Servers are used as:They make it easier to access websites by translating domain names into IP addresses.They speed up browsing by caching frequently accessed domain names.They help protect against attacks like redirecting traffic to malicious sites by using secure DNS protocols.How to Set Up a DNS ServerChoose a DNS Server: You can use DNS servers provided by your ISP, or choose public DNS servers like Google DNS (8.8.8.8), Cloudflare DNS (1.1.1.1), or OpenDNS (208.67.222.222).Configure Your Device:On Windows: Go to Network & Internet Settings > Change Adapter Settings > Right-click on your active connection > Properties > Internet Protocol Version 4 > Enter your DNS server addresses.On Android: Go to Settings > Network & Internet > DNS > Enter your DNS server address.Test Your DNS Server: After configuring the DNS, test the connection by opening a website to ensure the DNS is working correctly. Create Quiz Comment A anushkadaym Follow 4 Improve A anushkadaym Follow 4 Improve Article Tags : Computer Networks GATE CS Explore Computer Network BasicsBasics of Computer Networking4 min readTypes of Computer Networks6 min readIntroduction to Internet5 min readNetwork Devices4 min readWhat is OSI Model? - Layers of OSI Model11 min readTCP/IP Model6 min readOSI and TCP/IP Model4 min readPhysical LayerPhysical Layer in OSI Model3 min readTypes of Network Topology9 min readTransmission Modes3 min readTransmission Media in Computer Networks7 min readData Link LayerData Link Layer in OSI Model4 min readSwitching | Computer Networks2 min readVirtual LAN (VLAN)3 min readFraming in Data Link Layer3 min readError Control in Data Link Layer3 min readFlow Control4 min readPiggybacking in Computer Networks2 min readNetwork LayerNetwork Layer in OSI Model3 min readIntroduction of Classful IP Addressing7 min readClassless Addressing in IP Addressing7 min readWhat is an IP Address?11 min readIPv4 Datagram Header4 min readDifference Between IPv4 and IPv63 min readPublic and Private IP addresses4 min readIntroduction To Subnetting5 min readWhat is Routing?10 min readNetwork Layer Protocols9 min readTransport LayerTransport Layer in OSI Model4 min readTransport Layer Protocols9 min readTransmission Control Protocol - TCP4 min readUser Datagram Protocol - UDP3 min readSession Layer & Presentation LayerSession Layer in OSI model2 min readPresentation Layer in OSI model2 min readSecure Socket Layer (SSL)4 min readPoint-to-Point Tunneling Protocol - PPTP2 min readMultipurpose Internet Mail Extension (MIME) Protocol3 min readApplication LayerApplication Layer in OSI Model4 min readClient-Server Model3 min readWorld Wide Web (WWW)5 min readIntroduction to Electronic Mail4 min readWhat is a Content Distribution Network and how does it work?4 min readProtocols in Application Layer4 min readAdvanced TopicsWhat is Network Security?4 min readQuality of Service and Multimedia5 min readAuthentication in Computer Network3 min readEncryption, Its Algorithms And Its Future6 min readIntroduction of Firewall in Computer Network3 min readMAC Filtering in Computer Network3 min readWi-Fi Standards Explained2 min readWhat is Bluetooth?6 min readGenerations of wireless communication2 min readCloud Networking4 min readPracticeTop 50 Plus Networking Interview Questions and Answers15+ min readTop 50 TCP/IP Interview Questions and Answers 202515+ min readNetwork Fundamentals Interview Questions - Computer Networks15+ min readLast Minute Notes for Computer Networks14 min readComputer Network - Cheat Sheet15+ min read Like