On Tue, 25 Nov 2003, Sam Varshavchik wrote:

> 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…?

It's not just localhost but anything and everything in /etc/hosts that
is not otherwise reflected by DNS.

> > 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.

Is that so?  DNS *replaced* that procedure?  Explain, then, the presence
of an /etc/hosts file on *every* 'nix machine I have ever used, from
*BSD to every flavor of Linux, ever.  "replaced"? Supplemented, yes.
Supplanted for non-local hosts, yes. But /etc/hosts has not been
replaced.  Is there an /etc/hosts file on your machine?  Nowhere does it
say in the courier docs that courier doesn't rely on the host machine's
name resolution capabilities.

I honestly find it ridiculous that courier doesn't consider using
/etc/hosts, assuming that all users of courier *must* have access to a
nameserver.

--
Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is two wolves attempting to have a sheep for dinner and
finding a well-informed, well-armed sheep.

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to