There's a list of static hosts and IP address of the root DNS servers of the internet (a.root-servers.net, b.root-servers.net, etc.). This is called the 'root hint'. You can obtain it by typing 'dig' on a linux machine with dig (bind-utils) installed.
edit: to answer your question, you can't download all hosts on the internet. You ask the root for who .com is, then you ask the server it responds back with who google.com is.
Chain looks like this for google.com:
.com lookup goes to a.root-servers.net and it replies with a.gtld-servers.net, then a request for google.com goes to a.gtld-servers.net and it replies with Google's DNS IP addresses, then you query those IPs to get what you need (www, maps, etc).
There's a list of static hosts and IP address of the root DNS servers of the internet (a.root-servers.net, b.root-servers.net, etc.). This is called the 'root hint'. You can obtain it by typing 'dig' on a linux machine with dig (bind-utils) installed.
edit: to answer your question, you can't download all hosts on the internet. You ask the root for who .com is, then you ask the server it responds back with who google.com is.
Chain looks like this for google.com:
.com lookup goes to a.root-servers.net and it replies with a.gtld-servers.net, then a request for google.com goes to a.gtld-servers.net and it replies with Google's DNS IP addresses, then you query those IPs to get what you need (www, maps, etc).
(post is archived)