How does DNS work?
DNS (Domain Name System) is a distributed database system used to map between domain names and IP addresses. DNS offers a special method to maintain and link these mappings in a unified whole.
DNS ( Domain Name System ) is a distributed database system used to map between domain names and IP addresses. DNS offers a special method to maintain and link these mappings in a unified whole.
On a larger scale, computers connected to the internet use DNS to create URL link addresses (Universal Resource Locators). Under this method, each computer will not need to use the IP address for the connection, but simply use the domain name (domain name) to query the connection. With hierarchical model as shown below:
Domain hierarchy model
To better understand the operation of DNS we consider the example and refer to the drawing below:
Active example of DNS:
- Assuming PC A wants to access the website www.yahoo.com and the vvn server has not saved information about this site, the query steps will take place as follows:
- First, PC A sends a request to the domain management server and asks for information about www.yahoo.com Domain name management server sends a query to the top level domain server.
- Top level domain stores information about all domains on the network. Therefore it will send back to the server managing the domain name and IP address of the domain management server com (calling server com off).
- When the IP address of the domain name server is managed, server vnn immediately asks com server for information about yahoo.com. Server com manages all the websites that have com domain, they send information about the IP address of yahoo.com server to the server.
- Now the server vnn already has the yahoo.com IP address. But PC A requires www service, not ftp service or any other service. So the server continues to query to the yahoo.com server to request information about yahoo.com's www service management server.
- Naturally, when receiving a query, the yahoo.com server sends it back to the server and the IP address of the management server www.yahoo.com.
- Finally, the server will send the IP address of the management server www.yahoo.com . for PC A and PC A to connect directly to it. And now the server vnn has information about www.yahoo.com for future queries of other clients.
5 ★ | 2 Vote
You should read it
- The best top 10 Public DNS Server you should know now
- How to Create a Windows Server 2012 R2 Domain
- Instructions for creating a Domain Controller - DC on Windows Server 2012
- Yahoo! attacked, no damage
- Yahoo has returned to Yahoo Together chat application, invited to experience
- Fix the problem when removing Windows Server 2008 Server Core from the domain
- How to Install, Configure, and Test Certificate Services in a Windows Server 2012 R2 Domain
- Install Windows Server 2003 and create a backup server
- Learn about .io domain names
- How to Configure CAWE in a Windows Server 2012 R2 Domain
- How to join the domain in Windows 7
- Deploy Domain System On Windows Server 2003 Active Directory
Maybe you are interested
How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04
Download free Windows Server 2025 security guide
15 best bots to improve Discord server
How to download Free Fire OB46 Advance Server trial version
Serious vulnerability in OpenSSH threatens millions of servers
When was Free Fire Advance Server OB45 released? How to download and play FF Advance OB45