I'm have a strange problem that I think's being caused by my router. I have several sites running on my local machine (WinXP Pro) and I use the Hosts files to direct for eg site1.local to 127.0.0.1 (Apache) and site2.local to 127.0.0.2 (IIS). Everything works fine when I'm not connected to the net, or when I'm on dialup but if I'm connected to my D-Link G604T router (even if the router isn't connected to the internet) my local sites run really slow - taking 20-30 seconds to load a blank page, for example. It also happens if I just go to http://localhost, but if I type in the IP address (like 127.0.0.1 or 127.0.0.2) it works fine.
Is there some kind of setting somewhere that is trying slowing down the host names but not the IP addresses?