[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gethostbyaddr() & sendmail & dialup-connections
Hello Friends,
I have the following problem: Whenever I am connected to another machine
(NOT the Internet) using pppd and run sendmail (even sendmail -bp), sendmail
tries to do a gethostbyaddr() to translate my ws' ip to a name (I am using a
ws to connect to my server. the server dials another server ,not the inet,
and the problem show up at both the other server and at my server). In all
cases /etc/hosts lists the ip's and names (both FQHN and short name). The
strange thing is that when there is no ppp-connection there is no problem at
all. Can it be that somehow, if there is a ppp connection the system assumes
that it also has a nameserver and ignores /etc/hosts ?
My system: localnet (192.168.11.0) with ws1 & server1 -- modem (ppp
connection) -- other localnet (192.168.13.0) with server2 & ws2. I work at
ws1 and run X from server1 that called server2 and I run telnet from server1
to server2. All possible IPs exist in /etc/hosts at server1 and server2.
All help appreciated. If you need more info (route, netstat, whatever), no
problem.
Schlomo