It is  just order that you change ijn resolving hostname ,like you have setup
dns and your system looks at /etc/hosts  due /etc/hosts.conf .

This can take up to 15 min for an ftp to a very next m/c itself .

also /etc/nsswitch.conf should point to the dns server if you doing an ftp to a
fully qualified domain.

Bimal Raj wrote:

> I too have the same problem.  Will you please elaborate on howto do that ?
>
> Thanks
> Bimal
> At 11:36 AM 11/8/00 +0530, you wrote:
> >check for you /etc/nsswitch.conf also add your dns sever entry in the
> >resolv.conf
> >
> >and make sure your /etc/hosts.conf starts from bind or dns do same for host
> >name resolution in nsswitch.conf.
> >
> >This is same for all the unix flavors
> >
> >DILLIP KUMAR BARIK wrote:
> >
> > > Dear Linux user,
> > >
> > >              Our machine installed redhat 6.2. Ftp takes long time to
> > > connect. Some time it will not connected and an error message comes that
> > > remote host closed connection. Why ? Please help me.
> > >
>
> ----------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/

--
Regards
RaghuNath
WSS-Team
TexasInstruments
Living on Earth is expensive, but it does include a free trip
round the sun




----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to