[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: First line in /etc/hosts



In article <[🔎] 20050213150126.GA2790@projectcolo.org.uk> you wrote:
> Resolving the hostname is a standard method for obtaining an IP address
> for the machine

And pretty broken in a lot of the cases :) It is much better to retrieve
the local current IP address of the connection you are going to send the ip
(if it is needed). This works at least for TCP.

For UDP it should be configurable, a lookup by name is of course a possible
default.

Gruss
Bernd



Reply to: