Niall,
Thanks but it didn't seem to work.
I had the following:
hosts: files nisplus nis dns
So I even tried:
hosts: files dns [NOTFOUND=return] nisplus nis
But that didn't seem to work either. Anyone have any ideas?
Thanks,
Tuan
On Tue, 23 May 2000, Niall Watts wrote:
> Tuan
>
> Take a look at /etc/nsswitch.conf - it governs the order the lookups are
> performed (such as hosts, DNS, NIS etc..) Also worth noting is that nslookup
> on RedHat goes straight to DNS and doesn't check the local hosts file
>
> Good Luck
> Niall
>
>
> -----Original Message-----
> From: Tuan Hoang [mailto:[EMAIL PROTECTED]]
> Sent: 23 May 2000 14:28
> To: [EMAIL PROTECTED]
> Subject: Problem with slow FTP login under Red Hat 6.x
>
>
> Hey,
>
> I've got one machine called rambo on 2 networks. The first network (eth0)
> is on an internal lab network (using /etc/hosts) and the second (eth1) is
> on our corporate network (using DNS). My problem is that when I try to
> ftp into rambo from the internal network, the only thing I see is
> "Connected to rambo." for about 1 minute. Then the rest of the login
> continues fine. But when I ftp from a host on the corporate network
> everything works fine. Seems like the ftp daemon isn't checking the
> /etc/hosts table and just using the DNS.
>
> I have the incoming host defined in the /etc/hosts table so I don't have
> this problem with telnet. I've also used "netconf" (what linuxconf uses)
> to make sure that my order for checking hostnames is "hosts,DNS".
> I'm currently using both Red Hat 6.1 and 6.2 with all the updates as of
> today. Any clues?
>
>
> Thanks,
> Tuan
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]