A DNS server is a computer server that contains a database of public IP addresses and their associated host names, and in most cases serves to resolve or translate those names into IP addresses as requested. DNS servers run special software and communicate with each other using special protocols.
How a DNS (Domain Name System) server works.
The DNS server sits in the space between human and computer to facilitate communication between human and computer.
It's much easier to remember a domain or hostname like lifewire.com than the site's IP address, 151.101.2.114. So when you visit a website like Lifewire, all you have to do is type in the URL https://www.lifewire.com .
However, computers and network devices do not work well with domain names when trying to find each other on the Internet. Using an IP address is a much more efficient and accurate numerical representation of the server where the website is located on the network (Internet).