To the inexperienced user the Domain Name System (DNS) can seem very intricate and complicated. While it can in some cases be complex, DNS problems can be easily diagnosed once you understand the basic core ideas behind it.
What does DNS do?
DNS has one primary purpose online: Turn names into numbers. The numbers are IP addresses, which function just like the numbers in your home address. Mail that is delivered to your home is physically delivered by a mail carrier who knows where your address is located. DNS is like a mail carrier, taking domain names and turning them into unique addresses that allow messages to be sent back and forth across the internet.
Specifically, DNS turns names like liquidweb.com, google.com, yahoo.com, etc into the IP addresses of the servers that host the web site.
How does DNS do its job?
A short explanation of the DNS process:
- You purchase a domain at a Registrar (GoDaddy, Enom, etc).
- The Registar lets the world know what nameservers have your domain’s DNS.
- The Nameservers house your domain’s DNS. When someone wants to connect to your domain the nameservers turn the domain name into an IP address and send the result to the visitor’s computer.
- The visitor’s computer receives the IP address answer from the nameservers and opens a connection to the web server at that address, requesting the web page.
- The web server responds and fulfills the request, transmitting the web page to the visitor’s computer.
Please note that this overview does not include local resolvers for the sake of making general DNS concepts easier to understand.
DNS Lookup Process – Illustrated Visually
- The Visitor PC requests nameserver information from the registrar.
- The nameservers turn the domain name into an IP address and sends it to the Visitor.
- The Visitor PC connects to the web server IP and requests the domain’s page, which is then sent back to the Visitor’s PC.
Now that you understand the basic processes behind DNS you can move on to more advanced topics such as setting up your own private nameservers, modifying your DNS hosts file, using Liquid Web’s nameservers, diagnosing common DNS errors, and updating your server’s reverse DNS using PIMS.
Liquid Web’s Heroic Support is always available to assist customers with this or any other issue. If you need our assistance please contact us:
Toll Free 1.800.580.4985
Tagged with: dns • linux • name servers • resolv.conf