For those of you using Fiddler HTTP Debugger (which is a great tool I've blogged about many times in the past,) there appears to be an issue when using IP addresses. This is especially noticable when using private subnet IP addresses (such as 192.168.1.*.)
The problem I was seeing was that requests to my developer server came to a crawl when using Fiddler. Speed to external domains was working fine. If I turned off capturing, speed resumed. I finally was able to figure out that by setting up a DNS entry, speed would resume.
Since this was slowing me down, I sent Eric Law, the developer of Fiddler, an e-mail message reporting the problem. He was very quick in researching the problem.
Turns out in .NET when you do a DNS.Resolve() on an IP address, the class actually sends the request to a DNS server to have the IP address resolved. In my case, it was this roundtrip to the server that was causing me performance problems.
Eric also discovered that the DNS.Resolve() method doesn't have any kind of caching mechanism, which you'd assume it would.
So anyway, for those of you running into the same issue I was, try giving yourself a DNS name to speed things up as a temporary fix. I'm sure this fix will be in the next release of Fiddler (as I've already tested the fixed code.)
So thanks to Eric for his quick turnaround in this fix, and I guess it's a warning to .NET developers who are using the DNS.Resolve() method.
4 Comments
Comments for this entry have been disabled.