I have a 1st gen that I can't connect to my wifi. It connects but I can not get any web pages. It will connect to my neighbors wifi so it is not a phone issue. I tried with and without security on the router with no luck. Apple claims that it is a DNS issue and told me to call my ISP. I tried a search and tried all trouble shooting. Any suggestions?

I have Windstream DSL with a Speedstream 4200 and a Linksys wrt54g router. Phone, modem, and router have latest firmware. No firewalls on.