Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Paul Hartman
On Fri, Jul 8, 2011 at 5:35 PM, Peter Ruskin wrote: > On Friday 08 July 2011 19:58:47 Grant wrote: >> > host example.com >> > > What package provides host? > I'm amazed I don't have it. net-dns/bind-tools it contains these basic essentials :) /usr/bin/dig /usr/bin/dnssec-keygen /usr/bin/host /u

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Mick
On Friday 08 Jul 2011 23:35:21 Peter Ruskin wrote: > On Friday 08 July 2011 19:58:47 Grant wrote: > > > host example.com > > What package provides host? > I'm amazed I don't have it. net-dns/bind-tools -- Regards, Mick signature.asc Description: This is a digitally signed message part.

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Thanasis
on 07/09/2011 01:35 AM Peter Ruskin wrote the following: > On Friday 08 July 2011 19:58:47 Grant wrote: >>> host example.com >>> > What package provides host? > I'm amazed I don't have it. > net-dns/bind-tools

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Alex Schuster
Peter Ruskin writes: > What package provides host? > I'm amazed I don't have it. net-dns/bind-tools Wonko

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Alex Schuster
Grant writes: > > Anything in nsswitch.conf? It seems to be used by ssh, but not by the > > host command. Which is new to me. > > nsswitch.conf looks straighforward and should be default. I get a lot > of output from those straces. Can you tell me what to look for? For 'strange' things :) Lik

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Grant
>> I'm not able to ssh to any domain, although IPs work.  I get: >> >> $ ssh example.com >> ssh: Could not resolve hostname example.com: Name or service not known >> >> I can ping domains no problem, and web browsing works.  I've tried >> rebooting and re-emerging openssh.  I am connected to an unf

Re: [gentoo-user] DNS error with ssh

2011-07-08 Thread Grant
>> I'm not able to ssh to any domain, although IPs work.  I get: >> >> $ ssh example.com >> ssh: Could not resolve hostname example.com: Name or service not known >> >> I can ping domains no problem, and web browsing works.  I've tried >> rebooting and re-emerging openssh.  I am connected to an unf

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Adam Carter
> I'd compare the output of strace ping and strace ssh . Anything > in nsswitch.conf? It seems to be used by ssh, but not by the host command. > Which is new to me. IIRC nslookup also only uses DNS servers, not the nsswitch.conf lookup option list. Since the ns probably stands for name server, th

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Alex Schuster
Grant writes: > I'm not able to ssh to any domain, although IPs work. I get: > > $ ssh example.com > ssh: Could not resolve hostname example.com: Name or service not known > > I can ping domains no problem, and web browsing works. I've tried > rebooting and re-emerging openssh. I am connected

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Albert Hopkins
On Thursday, July 7 at 17:43 (-0700), Grant said: > > Yeah I don't get it. Check this out: > > $ ping google.com > PING google.com (74.125.224.84) 56(84) bytes of data. > 64 bytes from 74.125.224.84: icmp_req=1 ttl=55 time=97.1 ms > 64 bytes from 74.125.224.84: icmp_req=2 ttl=55 time=97.1 ms

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Adam Carter
>> host example.com > > I'm not sure which package that is. Its in bind-tools, which also has nslookup.

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Grant
>> I'm not able to ssh to any domain, although IPs work.  I get: >> >> $ ssh example.com >> ssh: Could not resolve hostname example.com: Name or service not known >> >> I can ping domains no problem, and web browsing works.  I've tried >> rebooting and re-emerging openssh.  I am connected to an unf

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Adam Carter
> It does not :) Agreed. Both ping and ssh should either both work or both fail - assuming of course you are trying to ping the same host that you're trying to ssh to. You could try using an alternate DNS server, like google public ones 8.8.8.8 and 8.8.4.4. DHCP will have automatically updated

Re: [gentoo-user] DNS error with ssh

2011-07-07 Thread Paul Hartman
On Thu, Jul 7, 2011 at 5:29 PM, Grant wrote: > I'm not able to ssh to any domain, although IPs work.  I get: > > $ ssh example.com > ssh: Could not resolve hostname example.com: Name or service not known > > I can ping domains no problem, and web browsing works.  I've tried > rebooting and re-emer

[gentoo-user] DNS error with ssh

2011-07-07 Thread Grant
I'm not able to ssh to any domain, although IPs work. I get: $ ssh example.com ssh: Could not resolve hostname example.com: Name or service not known I can ping domains no problem, and web browsing works. I've tried rebooting and re-emerging openssh. I am connected to an unfamiliar wireless ne