develooper Front page | perl.qpsmtpd | Postings from August 2007

Re: Correcting $self->config('me')?

Thread Previous | Thread Next
From:
Guy Hulbert
Date:
August 2, 2007 14:54
Subject:
Re: Correcting $self->config('me')?
Message ID:
1186091642.24627.1.camel@cal.cotef.org
On Thu, 2007-08-02 at 23:04 +0200, Peter J. Holzer wrote:
> * The return value should probably be cached. Doing a DNS lookup every
>   time is wasteful. A connection note is probably the cleanest way to
> do
>   this.

Why does everyone (i've seen this on other projects) want to write code
to do DNS lookups ?

Won't a local daemon (bind or djbdns) + libresolv do the caching for
you ?


-- 
--gh



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About