1 Jun 2005 01:14
Re: I am sure I am dense - but I dont know why!!
Vizion <vizion <at> vizion.occoxmail.com>
2005-05-31 23:14:14 GMT
2005-05-31 23:14:14 GMT
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 <at> 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 126.96.36.199 >>>> >ftp.freebsd.org has address 188.8.131.52 >>>> >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 184.108.40.206 >>>> ftp.freebsd.org has address 220.127.116.11 >>>> 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. _______________________________________________ freebsd-questions <at> freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe <at> freebsd.org"