Re: issue with name resolution
From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 11/29/05
- Previous message: Darren Tucker: "Re: Getting IP's added to log entry"
- In reply to: gcorani_at_gmail.com: "Re: issue with name resolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Nov 2005 03:38:06 GMT
On 2005-11-28, gcorani@gmail.com <gcorani@gmail.com> wrote:
> (a) my ssh client do work correctly with ip-addresses, but wrongly with
> hostnames.
> By using ssh <hostname> -v, I discovered that it tries always to
> connect to address 1.0.0.0
> Then, it returns a "connection time out" message
I'm wondering if something along the line is misinterpretting a
"-1" meaning failure as an IP address. Do you have the name service
cache (nscd) running, and if so does stopping it make any difference?
Do you have multiple nameservers listed in /etc/resolv.conf and do they
all work? What SSH software and version is this?
I suspect that strace'ing ssh during the failure will provide a clue as
to where the bogus address is coming from.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: Darren Tucker: "Re: Getting IP's added to log entry"
- In reply to: gcorani_at_gmail.com: "Re: issue with name resolution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|