Full wifi signal, but periodically no internet access
I have a strange wifi issue.
I have an almost brand new MacBook Pro. It's always connected to my home wifi with full signal strength. Even so, once in a while it has no internet access. Nothing which requires internet access works. The wifi is still connected, but the internet connection disappears. After a few minutes the internet access is back. This happens on and off constantly. If i restart my computer, the internet access immediately returns.
No other devices in my home have any similar problems which means it hardly has anything to do with the router.
Any ideas?
MacBook Pro with Retina display, OS X Yosemite (10.10.5)