[cricker@peppy cricker]$ ncftp ftp.mozilla.org NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason (ncftp). Resolving ftp.mozilla.org... Unknown host "ftp.mozilla.org". ncftp> quit [cricker@peppy cricker]$ strace -f -o ncftp-strace ncftp ftp.mozilla.org NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason (ncftp). Resolving ftp.mozilla.org... Unknown host "ftp.mozilla.org". ncftp> quit [cricker@peppy cricker]$ host ftp.mozilla.org ftp.mozilla.org is an alias for ftp-mozilla.netscape.com. ftp-mozilla.netscape.com is an alias for ftp-mozilla.gftp-mozilla.netscape.com. ftp-mozilla.gftp-mozilla.netscape.com has address 64.12.168.243 [cricker@peppy cricker]$ ncftp ftp.mozilla.org NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason (ncftp). Resolving ftp.mozilla.org... Unknown host "ftp.mozilla.org". ncftp> quit [cricker@peppy cricker]$ ncftp 64.12.168.243 NcFTP 3.1.3 (Mar 27, 2002) by Mike Gleason (ncftp). Connecting to 64.12.168.243(64.12.168.243)... ftpmoz.newaol.com FTP server (SunOS 5.8) ready. Logging in... Guest login ok, access restrictions apply. Logged in to 64.12.168.243. ncftp / > <snip> ncftp fails when connecting to ftp.mozilla.org by hostname, even though this hostname can be resolved. Attached is the strace -f output
Created attachment 79864 [details] strace of ncftp
ncftpget has same problem. Seems to be switching to IPV6 part way through the DNS lookup.
it seems fixed in ncftp 3.1.5