Barry M had it right, why 2 thumbs down?
So the problem was in your modem/router. Flushing the DNS did nothing as well as running Windows Troubleshooting which is worthless (except for driver problems). It is hard to debug because it
is an integrated unit.
First thing, ping the default gateway. If it responds, you know that the router portion is at least up.
I usually ping 8.8.8.8 which is google's dns/ping server. If it pings, then you know your network
is good. If it doesn't, then something is amiss. Since you give the address as an IP, you know
this has nothing to do with DNS because DNS isn't called.
If that worked, I'd run 'tracert 8.8.8.8' and see how far it gets. If it doesn't get pass your modem, then the ISP is broken. Get on the router/modem through the admin interface, and release and renew your external IP.
If it doesn't renew, you have a problem, you aren't talking to the ISP.
If tracert goes beyond your modem and ISP, they you can debug it further (dns server might be down or some routers run a dns cache process that might be down, some just give you the ISPs ones).
Run tracert and record the path when it is working so you are familiar with it. The last hop
should be like:
8 google-public-dns-a.google.com (8.8.8.8) 2.094 ms 1.934 ms 2.125 ms
Learn to query the DNS directly, like:
# nslookup - 8.8.8.8
> www.yahoo.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
www.yahoo.com canonical name = fd-fp3.wg1.b.yahoo.com.
Name: fd-fp3.wg1.b.yahoo.com
Address: 98.138.253.109
Name: fd-fp3.wg1.b.yahoo.com
Address: 98.138.252.30
>
Do the same with the DNS server you are given.