View Single Post
Old 04-07-2007, 09:19 PM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

Hey odd. That's exactly what I thought the problem was.

4-07-2007 12:38:48 Host '*@111.111.111.111' did not match any of user 'test' allowed hosts.

Should look like

4-07-2007 12:38:48 Host '*@myisp.com' did not match any of user 'test' allowed hosts.

if ioFTPD was able to reverse resolve the name via gethostbyaddr().

Now that the call failed (and there aren't any ioFTPD configurable options to the windows call) it's value is cached internally for

Hostname_Cache_Duration = 1800 # Seconds cached hostname is valid

from the ioFTPD.ini file.

If you can't login for a long period of time, try setting this to 300 or something to force ioFTPD to try again sooner. Also of importance here is Windows XP has a DNS Client service that caches answers for you and that may cache the failure. XP I think has a 15 minutes default timeout so there may be nothing you can do. The only way I know of to get around DNS Client is to turn it off or to use "ipconfig /flushdns" which is only useful if you're at the computer... The good news is the DNS Client probably caches an answer even if it takes 3 minutes to get which means it would respond to ioFTPD correctly the next time ioFTPD asks which is why setting the .ini option may help.
Yil is offline   Reply With Quote