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

Re: extremely slow to ssh out from my machine



On Sun, 2005-02-27 at 21:32 +0100, Jan C. Nordholz wrote:
> > this gives, but i am unsure what it means re my problem [ssh takes
> > O(20)sec)]: 
> 
> Hi Michael,
> 
> here it is what's taking so long:
> 
> > execve("/usr/bin/ssh", ["ssh", "-p", "87",
> > "michael@ratty.phy.umist.ac.uk", "w"], [/* 28 vars */]) = 0
> > [snipping lots of output]
> 
> > open("/etc/resolv.conf", O_RDONLY)      = 3 <0.000031>
> > fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0 <0.000018>
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> > -1, 0) = 0x40018000 <0.000022>
> > read(3, "search\nnameserver 192.168.0.1\nna"..., 4096) = 54 <0.000048>
> > read(3, "", 4096)                       = 0 <0.000019>
> > close(3)                                = 0 <0.000018>
> 
> Hm, your resolv.conf mentions the host 192.168.0.1 as primary
> DNS server... this is giving problems later on... are you sure
> that there's a DNS server running (and responding) there?

192.168.0.1 is the IP of my router/modem...
Here's what the resolv.conf looks like
search
nameserver 192.168.0.1
nameserver 212.1.130.32



{snip}

> I'd suggest checking the DNS server on 192.168.0.1, or at least
> temporarily swapping the order in /etc/resolv.conf, so the one
> that's most likely to respond is listed first.
> 

I've just tried that and restarted sshd but that hasn't helped (does it
required a full reboot or something else like resolver or named?)



Reply to: