sshd fails reverse dns lookup / host accomplishes reverse dns
Hanasaki JiJi
hanasaki at hanaden.com
Mon Aug 26 00:02:04 CDT 2002
No entry in /etc/hosts
nslookup [ip1] returns [computer1]
nslookup [ip2] returns [computer2]
so the dns is doing lookups ok
so the dns is doing reverse lookups ok
Duane Attaway wrote:
> Check to see if both computers are listed in /etc/hosts
>
> If they are not in /etc/hosts, an attempt to resolve their IP number will
> be made by making the rounds through /etc/resolv.conf, where the local
> domain will be searched first if specified, and then through the listed
> nameservers.
>
> That's about far as searching for machines go. Those are your two files.
> Unless you have a local cacheing name server running or something...
>
>
> On Sun, 25 Aug 2002, Hanasaki JiJi wrote:
>
>
>>computer1 and computer2
>> - both run woody
>> - both have the same /etc/resolve.con
>> - both have the same ssh config
>>
>>ssh from 1 to 2 - no problems
>>ssh from 2 to 1 - sshd reports a failed reverse dns lookup
>>
>>host [ip of computer1] - works on all systems
>>
>>Any ideas as to why computer2 would be having such problems?
>>
>>Thank you.
>>
>>
>>
More information about the Kclug
mailing list