Subject: Re: ftp.perl.org
To: Rasputin <rasputin@idoru.mine.nu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 07/22/2002 09:26:09
On Mon, 22 Jul 2002, Rasputin wrote:

> What I was asking is why ftp isn't resolving the name when
> dig and host do?

ftp uses lookups as defined by nsswitch.conf; dig and host use DNS.

(You might want to consider trying simple gethost package.)

> A ktrace shows it's appending my local domain to the name, presumably
> because it doesn't like the CNAME???

I didn't see the previous messages in this thread, but does your
resolv.conf use the "search" and/or "domain" configurations?

   Jeremy C. Reed
   http://bsd.reedmedia.net/