The only problem with this issue is that everything else on my computer is fine and connected to the Internet with no problems. I did run the Windows Network Diagnostics at one point, and it said that my DNS probe was disconnected.
It also happens more frequently every day, starting at once a day and now happening maybe 2-3 times a day. It started at about 1 minute, and it's getting to last for 5 minutes or more at this point. I can't give a definite amount of time that this lasts for, as it seems to last for a minute longer every time it happens.