This has almost become a meme at this point. Anyone in the office who has a problem with their internet on the Macbook, I just send them this:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder