Hi, all,

I've installed djbdns on my home network and I have stretched
my competence past the breaking point in doing so.

I have gotten it to supply ip addresses for all of my local machines
using my own local nis domain name.

But, in doing so, I've managed to screw up host based authentication
for ssh, and I'd like to undo the damage.  Before djbdns, I could
ssh into any of my local machines w/o suppling a password.
After djbdns, I get this response to an ssh:

[EMAIL PROTECTED]:~--> ssh tobey
get_socket_address: getnameinfo 8 failed: Name or service not known
userauth_hostbased: cannot get local ipaddr/name
Password:

man getnameinfo suggests that getnameinfo does ip address to name
translation.  And, sure enough, If I try an nslookup on a local ip address,
djbdns can't supply me with the machine name.  For example,

[EMAIL PROTECTED]:~--> nslookup 192.168.1.104
Server:         192.168.1.254
Address:        192.168.1.254#53

** server can't find 104.1.168.192.in-addr.arpa: NXDOMAIN

I have a feeling that I should add some sort of record into the
local database to make the ip to name translation possible,
but I don't know enough about nameserving, ssh, or authentication
to figure out what to do next.

Any ideas?

Thanks,

John Blinka
--
gentoo-user@gentoo.org mailing list

Reply via email to