Subject: Re: FTP connection showing incorrect hostname
To: Phil Pereira <freeserver@wintellect.co.uk>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 05/12/2003 09:11:25
On Sun, 11 May 2003, Phil Pereira wrote:
> I have now setup my FTP server; however, when it is connected to - it
> displays an incorrect hostanme for itself, eg. it says:
>
> Connected to host.domainX.com
>
> instead of
>
> Connected to host.domainY.com
>
> Any way I can change this? My /etc/myname file is correct and
> everything else seems right - even the correct name is displayed when
> the system boots. Any ideas?
This "Connected to" message is from the FTP client. The client uses
getaddrinfo(3) to do this name lookup.
So check the /etc/hosts, nsswitch and DNS setup for the client system (not
the server).
Jeremy C. Reed
http://bsd.reedmedia.net/