Hey there,
Yeah, sounds like a dns problem, but on your windows machine. I doubt this has anything to do with ipchains/tcpwrappers, since if it was, it either would or wouldn't work at all, rather than giving a 20 sec delay.
The problem sounds like you don't have a hosts file set on your windoze 🙂 machine. (I assuming you're not trying to run a local DNS server). Setting this may fix the problem. For example, I have a file called:
C:\WINNT\system32\drivers\etc\hosts
on a Windows 2000 machine, containing (for example):
127.0.0.1 localhost
192.168.0.20 my_linux_server
192.168.0.1 firewall
Windows goes here for host lookups FIRST BEFORE going to your ISP's DNS server. Put whatever the IP is of your linux box and it's hostname in the hosts file equivalent for Windows ME (I don't think it's located in the same directory as Win2k - just search your "c" drive for a file called "hosts").
Reverse lookups on your linux box may also be timing out for some reason, but try the above first. If it doesn't, check your /etc/hosts file, nsswitch.conf (for resolution order), and so forth. Put an entry into /etc/hosts for your windows machine if it isn't there (same syntax as above). Actually, come to think of it, do it anyway since it won't hurt anything if it's there.
hope that helps,
perfectom
tracy wrote:
I have installed Redhat 7.2 with Apache 1.3 on my home lan. What my problem is, is that when I telnet into my Linux box there is exactly a 20 second delay before Linux responds. Also it takes exactly 20 seconds for the Linux to respond to a clicked link in my php test pages.
The strange thing is that when I run the web page locally there is no delay at all. Also when I ping the Linux box from my Win ME box I get a reply in <10ms which is the fastest that windows can register. Another oddity with my telnet session is that once I am connected to the system everthing I do is done at normal spend.
I also checked the system resourses to make sure the cpu and ram were not over loaded but they were ok. I just don\'t know where to go from here and what else to check.
Thank you so much,
Tracy