DNS slowdowns on development environment
Posted
by
Sequenzia
on Pro Webmasters
See other posts from Pro Webmasters
or by Sequenzia
Published on 2012-03-20T18:38:48Z
Indexed on
2012/03/20
23:40 UTC
Read the original article
Hit count: 435
I have a local development environment setup on my Mac. I am running an Ubuntu Web Server inside of a Virtual Box VM. I setup a host file on my Mac that points my dev site to the IP of the Ubuntu Virtual Server.
Everything works good other than the fact a lot (not all) of the time it takes more than 5 seconds to load a page. I used firebug to track down where the problem is and when it's slow the DNS part of my request is taking over 5 seconds.
Like I said it's not all the time. Sometimes it resolves and loads the page within milliseconds. The same page one click will be super fast and then the next time it takes over 5 seconds.
It's really slowing me down and I am not sure what is causing it.
Anyone have any ideas?
Any help would be great.
Thank
© Pro Webmasters or respective owner