Jon Nelson writes:

On Tue, 25 Nov 2003, Sam Varshavchik wrote:

Jon Nelson writes:

> queries.  The problem here, of course, is that names like 'localhost'
> and 'localhost.localdomain' do not resolve.  What I'm trying to
> understand, MrSam, is the rationale for doing things this way?

A couple of reasons:

A) IPv6 (not implemented in the legacy resolver routines)
B) The resolver routines must do more than just address lookups, namely
MX and PTR records.

And, it's not clear to me what's the issue with couriertls not resolving
stuff from /etc/hosts.  All that means is that the IP address's hostname
won't get picked up.  Big deal.

Well, 'localhost', for one, won't ever work properly.

And the consequences of that areâ?

Secondly, /etc/hosts is there specifically to provide a  "static table
of host names".

/etc/hosts is ancient legacy left over from the time before DNS. Before DNS came about, everyone used a host file to map IP addresses to hostnames. DNS replaced that procedure several decades ago.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to