IP Addresses and Hostnames
An IP address identifies a network-layer endpoint under its addressing scheme. A hostname can have records that resolve to current addresses.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a moving service
A service name can remain stable after its addresses change. A caller resolving the name may receive multiple IPv4 or IPv6 addresses. A reverse lookup map illustrates why labels and values need not pair one to one.
Account for cached records
A client or resolver may continue using an earlier response until its freshness policy requires another lookup. See DNS caching for how record lifetimes affect that transition.[1][2]
Distinguish a name lookup from a service choice
One example hostname can resolve to several addresses, and one address may accept requests for several names. The hostname can remain relevant to the application and certificate verification after choosing an address. See URL host, path and query.
Name: catalog.example
Resolution could return several configured addresses
Connection uses one address
Application requests still identify the intended service name
Check stages separately when names change
A resolver might return a cached answer from an earlier configuration. A connection can also succeed to a listener while the application selects a different virtual host. Verify the expected name and response with a known service.