×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

domain name, name server, zone file, A Record, what are they?

本文发表在 rolia.net 枫下论坛I'm quite confused about all these names, can someone please explain them to me?

let's say I register a domain name (mydomainame.com for example) with godaddy.com, and I wanna point it to a site hosted with another hosting company H.com, and H's name servers are ns1.H.com & ns2.H.com. So I log in to godaddy's doman control panel and fill in this information and wait for it to propogate(spelling?). Simple, so far.

then when I type in "mydomainame.com" into the browser's address bar, WHAT IS HAPPENING behind the scene?

my computer -> my ISP -> ??? -> godaddy -> ??? -> ns1.H.com -> mydomainame.com/index.html -> back to my computer -> rendered in browser window -> enjoy (what? you're watching porn in the office?!!! fired!!! :P )

1. is the above flow correct?
2. what's happening in the ??? phases?
3. when I type in ns1.H.com, ns2.H.com into GD's domain control panel, what happended after that? does this need H's involvement to approve my pointing of my domain name to their name server? I guess so. is this an automatic process or requires human involement?

I have more questions about A record, zone file etc but may need to understand the very basic to ask them later.

Thank you very much if you can help me out!更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / domain name, name server, zone file, A Record, what are they?
    本文发表在 rolia.net 枫下论坛I'm quite confused about all these names, can someone please explain them to me?

    let's say I register a domain name (mydomainame.com for example) with godaddy.com, and I wanna point it to a site hosted with another hosting company H.com, and H's name servers are ns1.H.com & ns2.H.com. So I log in to godaddy's doman control panel and fill in this information and wait for it to propogate(spelling?). Simple, so far.

    then when I type in "mydomainame.com" into the browser's address bar, WHAT IS HAPPENING behind the scene?

    my computer -> my ISP -> ??? -> godaddy -> ??? -> ns1.H.com -> mydomainame.com/index.html -> back to my computer -> rendered in browser window -> enjoy (what? you're watching porn in the office?!!! fired!!! :P )

    1. is the above flow correct?
    2. what's happening in the ??? phases?
    3. when I type in ns1.H.com, ns2.H.com into GD's domain control panel, what happended after that? does this need H's involvement to approve my pointing of my domain name to their name server? I guess so. is this an automatic process or requires human involement?

    I have more questions about A record, zone file etc but may need to understand the very basic to ask them later.

    Thank you very much if you can help me out!更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • 哪位热心人介绍一下? thanks!
    • A domain name is the text name corresponding to the numeric IP address of a computer on the Internet. ns1.H.com & ns2.H.com are the DN server of your hosting company.
      my computer -> my ISP -> the DNS of your ISP should resolve the domain name and pass the IP info back to you -> mydomainame.com/index.html -> back to my computer -> rendered in browser window
      • an explaination of the names is not what I wanted. I wanna know what's HAPPENING behind the scenes - technical details in other words. thanks anyway.
    • Let me try. There are lots of name servers in the world. They are connected either directly or in directly. When you registered a domain name,
      you just got unique string name in the world. After you bought a hosting space, you connected your domain name to an IP address. And this connection information was saved in the hosting company's name server (ie. ns1.H.com )'s database. As mentioned before, the name servers are connected. the ns1.H.com will spread the information to neighbor name servers and upper level name server periodly. It may take couple of days to spread to all of the world. When you type your domain name in your web browser, the browser send a domain name lookup request to your ISP's name server. If your ISP's name server knows the information, it will return the IP address to your browser. Otherwise return host unknown.

      Just my understanding. May have mistakes.
      • much better try, but still isn't what I wanted. actually I know most of what you mentioned here. lets try the questions in another way:
        much better try, but still isn't what I wanted. actually I know most of what you mentioned here. lets try the questions in another way:

        I have a domain mydomainame1.com registered with GD, another one registered and hosted with 1&1: mydomainame2.com.
        now I wanted to point mydomainame1.com point/forward to a subdomain/subdirectory at mydomainame2.com.
        and I realized it may not be as easy as to just log in to GD's domain control panel and put 1&1's name servers. because if that's true,
        then i can simplely put google/yahoo's name servers and make my domain name an alias of google.com (I know it doesn't make sense to do that but just an example).

        So my actual question is how and where the zone file is maintained?

        thank you!