Re: Nameserver calls - libesmtp problem?



Am 21.06.2001 15:58:03 schrieb(en) Carlos Morgado:
> unless albrecht's system is messed up that is soo wrong.
> 
> brian ? albrecht ?

First, thanks for all your help, and sorry for the late reply, I had to
work... But, Carlos, you seem to be right that there *is* something really
mixed up here.

* localhost *is* in /etc/hosts:

127.0.0.1       localhost       localhost.localdomain

* look first in the hosts file (/etc/host.conf):

order hosts,bind

* my provider's servers *are* in /etc/resolv.conf:

nameserver 145.253.2.11
nameserver 145.253.2.75

...but tcpdump shows me that it tries to connect to the nameserver to look up
localhost when hitting the `send' button in balsa:

[root@regulus /root]# tcpdump -vv -t -x -l -i ippp0 -n -c 5
[...]
> 145.253.153.6.1024 > 145.253.2.11.domain: 33252+ ANY? localhost. (27) (ttl
64, id 152)
                         4500 0037 0098 0000 4011 bb12 91fd 9906
                         91fd 020b 0400 0035 0023 0361 81e4 0100
                         0001 0000 0000 0000 096c 6f63 616c 686f
                         7374 0000 ff00 01

This does *not* hapen if i just say `ping localhost' - it pings without
dialing...

To be absolutely sure, I wrote a microscopic C program which calls
gethostbyname, and again with localhost, it does *not* try to connect to the
nameserver (as it does for e.g. www.balsa.net).

Arrrrgh! Maybe I am just too dumb for all this?!? What the hell *did* I mix
up here???

Thanks again, Albrecht.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Albrecht Dreß  -  Monschauer Straße 22  -  D-53121 Bonn (Germany)
      Phone (+49) 228 6199571  -  E-Mail albrecht.dress@arcormail.de
_________________________________________________________________________




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]