Yeah, that happens. Shitty problem. Anyway, here's the fix.
1. Go into your Internet Connection Settings, were all your WiFi connection settings are.
2. Tap on the connection you're using, you're home wireless network for example.
3. Scroll down to Auto Find DNS or something like that, and turn it off.
4. Now the Primary/Secondary DNS input options should have opened up, and go into the Primary one.
5. Type in "208.67.220.220"
6. Exit back out and go into the Secondary DNS Server input thing.
7. Type in "208.67.222.222"
8. Test the connection, and when it connects exit out of the settings and get to surfing!
BTW, do this for any hotspot/access point you connect to.