Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 16:14:14 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, Jerry McAllister <jerrymc@clunix.cl.msu.edu>
Subject:   Re: I am sure I am dense - but I dont know why!!
Message-ID:  <200505311614.16038.vizion@vizion.occoxmail.com>
In-Reply-To: <200505311453.48525.vizion@vizion.occoxmail.com>
References:  <200505311824.j4VIOlRl018771@clunix.cl.msu.edu> <200505311449.53423.vizion@vizion.occoxmail.com> <200505311453.48525.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 31 May 2005 14:53,  the author Vizion contributed to the dialogue 
on-
 Re: I am sure I am dense - but I dont know why!!: 


>>>>  Re: I am sure I am dense - but I dont know why!!:
>>>> >On 2005-05-31 12:08, Vizion <vizion@vizion.occoxmail.com> wrote:
>>>> >> Well I got the unknown host "ftp.freebsd.org" from:
>>>> >> # ncftp ftp.freebsd.org
>>>> >
>>>> >Does ftp.freebsd.org resolve *at* *all* using host(1) and dig(1)?
>>>> >
>>>> >$ host ftp.freebsd.org
>>>> >ftp.freebsd.org has address 204.152.184.73
>>>> >ftp.freebsd.org has address 62.243.72.50
>>>> >ftp.freebsd.org has IPv6 address 2001:4f8:0:2::e
>>>>
>>>> Yes it sure does -- that is what is puzzling me
>>>> I get the same:
>>>>
>>>> dns1# host ftp.freebsd.org
>>>> ftp.freebsd.org has address 204.152.184.73
>>>> ftp.freebsd.org has address 62.243.72.50
>>>> ftp.freebsd.org has IPv6 address 2001:4f8:0:2::e
>>>
>>>It seems to be a problem of ncftp then.  Have you, by any chance, used
>>>any fancy CFLAGS when building the ncftp port?
>>
>>No just a straight build from an up to date tree
>>make
>>make install
>>David
>
>I meant to say the other weird thing is that ncftp returns the correct ip
>address when using the  ncftp lookup option... so like you say there seems
> to be a bug somewhere.
Well I solved the problem. I took a look at the source.
Two of my five names servers were down. It seems that the lookup ortion doesnt 
really care about how long it waits for a return from a dns server but open 
does. Hence the difference. When I shifted the dns server priorities around 
(left the same servers in the file but put the out of action one at the 
bottom then ncftp works fine!!
Of course both dig and hosts have liong time outs as well !!

David


-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing May/June bound for Europe via Panama 
Canal.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505311614.16038.vizion>