Sam Johnston <[EMAIL PROTECTED]> wrote:
>
> I use qmail-smtpd on internal (ie 192.168.0.0/16) networks in conjunction
> with dnscache. I've improved connection time dramatically by adding '-R -H'
> to the tcpserver arguments so as reverse lookups are not attempted. I would
> prefer to resolve external addresses, but not worry about internal ones (or
> perhaps have the internal ones resolve to their IP address). How have others
> solved this problem?
By making their internal addresses resolve, and then not using -R -H.
> Bonus points for not having to run 2 tcpservers.
Okay: run one tinydns with whatever data you like for your internal
addresses, or a walldns if you prefer. Hook a dnscache in front of it,
and use that in /etc/resolv.conf on your qmail server.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------