![]() When authoritative name servers receive queries for 'localhost' in spite of the provisions mentioned above, they should resolve them appropriately.To avoid burdening the Domain Name System root servers with traffic, caching name servers should never request name server records for localhost, or forward resolution to authoritative name servers.Queries for localhost should not be sent to caching name servers. When a name resolver receives an address (A or AAAA) query for localhost, it should return the appropriate loopback addresses, and negative responses for any other requested record types.Applications may resolve the name to a loopback address themselves, or pass it to the local name resolver mechanisms.An IPv4 or IPv6 address query for the name localhost must always resolve to the respective loopback address.The name may also be resolved by Domain Name System (DNS) servers, but there are special considerations governing the use of this name: This resolution is normally configured by the following lines in the operating system's hosts file: The name localhost normally resolves to the IPv4 loopback address 127.0.0.1, and to the IPv6 loopback address ::1. The standard precludes the assignment of that address to any physical interface, as well as its use as the source or destination address in any packet sent to remote hosts. In the IPv6 addressing architecture there is only a single address assigned for loopback: ::1. However, they can be used to set up multiple server applications on the host, all listening on the same port number. The address 127.0.0.1 is the standard address for IPv4 loopback traffic the rest are not supported by all operating systems. That means any packet sent to any of those addresses is looped back. ![]() IPv4 network standards reserve the entire address block 127.0.0.0 / 8 (more than 16 million addresses) for loopback purposes. For example, a locally installed website may be accessed from a Web browser by the URL to display its home page. The local loopback mechanism may be used to run a network service on a host without requiring a physical network interface, or without making the service accessible from the networks the computer may be connected to. Using the loopback interface bypasses any local network interface hardware. It is used to access the network services that are running on the host via the loopback network interface. The name localhost is reserved for loopback purposes. In computer networking, localhost is a hostname that refers to the current computer used to access it. JSTOR ( June 2020) ( Learn how and when to remove this template message).Unsourced material may be challenged and removed. Please help improve this article by adding citations to reliable sources. This article needs additional citations for verification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |