Jump to content

Web Host and DNS


AnthonyArde

Recommended Posts

AnthonyArde the way DNS works is like this(hopefully I explain this well).

 

When someone opens up their browser and goes to a site a query is made to their DNS server for that domain.

Their DNS server looks up the name server thats handles the queries for that domain then makes the query to that name server.

 

The name server keeps records of domains in what's called zone files.

Each zone file is for a different domain, it contains information about the domain, sub domains and what mail servers to send mail to along with some other information.

The DNS server looks in the zone file for that domain to see what record is there, most of the time the type of record will be what's called an A record.

 

An A record is used to point a domain name to an IP address.

Another type of record that is used is a CNAME record, it's used to point a domain to another domain; so this will cause more queries until an IP address is returned; but it can be useful at times.

 

So the record for that domain will get returned to you and if it was an A record then you will now have the IP address for the server that servers pages for that domain.

Your browser will now connect to that IP address and make an HTTP request and the web server will respond according to the request made.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.