I might be able to help here,
Try Just adding the Local nameserver first in the list,
if this does not work, then try adding in forwarders into your local
nameserver config. do you actualy have bind set up or are you just using the
hosts file?
> -----Original Message-----
> From: John [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 19, 2000 11:06 AM
> To:   [EMAIL PROTECTED]
> Subject:      FTP very slow Sometimes
> 
> NOTE: Posted this to the redhat-list as well but I'm posting it here
> too as I've had good results from Linux-newbie.
>       =================
> 
> Under some circumstances I experience very long delays connecting with
> FTP to my linux RH 6.0 machine from my Win98 box.
> 
> Please read slowly as this gets hard to explain :-)
> 
> The win98 box's TCP properties have the linux box as a gateway. 
> This was done to allow me to setup Masquerading as per the
> IP-Masquerading HOWTO. (and it works)
> 
> The Linux machine is running Wu-ftpd (Anon-FTP is not installed) and
> the /etc/hosts  file specifies my Windows box as winbox and my linux
> box as linuxhost
> 
> 127.0.0.1     localhost   localhost.localdomain
> 192.168.0.1   linuxhost   linuxhost.mydomain
> 192.168.0.2   winbox
> 
> The critical factor seems to be the Linux machine's /etc/resolv.conf
> file which is setup like this using the altered IP addresses of my
> ISP:
> 
>    domain my.isp.com
>    nameserver 203.11.11.1
>    nameserver 203.11.11.2
>    
> This works great for my PPP connection to the net and while I have my
> ppp0 interface up, I have no problem connecting to my Linux box from
> the Win box using FTP.
> 
> This stops once my ppp0 interface is down. I can still FTP to the
> Linux machine but this sometimes takes up to a minute.  
> 
> BTW the Win machine has no problems Telnetting to the linux machine at
> any time and fast too.
> 
> So I experiment with changing my /etc/resolv.conf back to its default
> format after installation which is like this:
> 
>    search mydomain          #  domain name of my Linux box
>    nameserver 192.168.0.1    #  Linux machine's IP
>    
> This allows me to establish an FTP connection to the linux machine
> without a problem but this will wreck my PPP setup for my ISP
> 
> I've tried to create a merged version of /etc/resolv.conf using my
> linux machine's IP and then my ISP's nameservers but this too prevents
> a timely FTP connection while my ppp0 is down.
> 
> So what could be going wrong? I don't understand the whole resolver
> process very well and I understand it less the more I read
> documentation.

Reply via email to