This question already has an answer here:
I register a new domain, mynewdomain.com, at a hosting company.
In the advanced DNS settings there is an A record which maps mynewdomain.com to a ip address.
In my webhost control panel, it shows me the nameservers for the domain: ns1.mywebhost.net & ns2.mywebhost.net
When I type in mynewdomain.com into a browser and hit enter I believe the following happens.
- ISP resolver searches "." nameserver
- ISP resolver then told to search ".com" nameserver instead.
- ISP resolver finds mynewdomain.com, and searches the zone file to get the A record.
So my question is, where does my webhost's nameservers come into play? I believe the flaw in my logic comes from the fact that my zone file (in which the A record is kept) is stored on ns1.mywebhost.net). But if that is the case, how does my ISP resolver know to look here? (because I didn't type this into my address bar)