One of the IP addresses for Yahoo is 216.109.118.69. For example, imaging that we wanted to make it so that if you typed in instead of going to Google we would go to In order to do this you would need to find out one of the IP addresses of Yahoo and map to that IP address. The HOSTS file is a text file that contains IP addresses separated by at least once space and then a domain name, with each entry on its own line. This file allows you to create mappings between domain names and IP addresses. Almost every operating system that communicates via TCP/IP, the standard of communication on the Internet, has a file called the HOSTS file. There is another way to resolve domain names without using the Domain Name System, and that is by using your HOSTS file. If you would like a more detailed explanation of the Domain Name System you can find it here: The Domain Name System The device will then open a connection directly to the IP address and perform the desired operation. The DNS server will then query other servers on the Internet that know the correct information for that domain name, and then return to the device the IP address. This is done by the device querying its configured DNS Servers and asking that server what the IP address is for that particular domain name. In order to get that IP address, DNS is used to resolve that domain name to its mapped IP address. Whenever a device connects to another device on the Internet it needs to connect to it via the IP address of the remote device. On almost all operating systems whether they be Apple, Linux, Unix, Netware, or Windows the majority of resolutions from domain names to IP addresses are done through a procedure called DNS.ĭNS stands for Domain Name System and is the standard domain name resolution service used on the Internet. The way these hostnames are resolved to their mapped IP address is called Domain Name Resolution. Therefore when you type a domain name in your program that you wish to connect to, your application must first convert it to an IP address that it will use to connect to. When using the Internet most people connect to web sites, ftp servers or other Internet servers by connecting to a domain name, as in Internet applications, though, do not communicate via domain names, but rather using IP addresses, such as 192.168.1.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |