> 
> On Tue, 8 Sep 1998, Cary B. O'Brien wrote:
> 
> > Another problem can be sendmail looking for the IP address of your
> > diald interface.  I do not fully understand this, but I have found
> > that if you see lines like...
> > 
> >    Jun  9 01:03:21 zeus sendmail[2860]: gethostbyaddr() failed for 192.168.0.1 
> 
> I believe sendmail does two lookups, one to turn the hostname into an
> address, and the other to turn the address back into a hostname to compare
> with the original, for the sake of security.  Looks like the second lookup
> is failing.  This may be a sign of misconfiguration somewhere.  As usual,
> the easy way out is to run a properly configured named on your server,
> although other methods may work too.
> 
> > When diald brings up the link, you may have to add the IP address
> > that failed to /etc/hosts.
> > 
> > This fixed nightly dialing on two of my machines.
> 
> Working them in to your DNS setup should work just as well, or better.
> 
> > Note I am using slirp at the other end.
> 
> I don't think that matters ... but slirp does masquerading of its own,
> doesn't it?  Hmm. 
> 

It does.  It's slick.  It handles your tcp connection and makes one
from the remote machine on your behalf.  I like it better than a
direct PPP connection because you can easily control what incoming
connections you will accept (me, none).  And you can have multiple
machines at the local end.

I know you can do this with IP Masquerade, but slip seems simpler
if you have a shell machine at the other end [1].  Plus it
saves me $10/month.

As for running named, or configuring sendmail not to do DNS
lookups, I've tried both and failed.  I'm sure given enough
time I could get either to work, but adding the offending IP
address to /etc/hosts fixed the problem in 5 minutes.  Sooner
or later I'm going to have to bite the bullet and deal with
named, but for now this fix is going to have to do.

-- cary


[1] How much longer such an account will be available anywhere
    is a concern.

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to