iPhone connects to home wi-fi, but cannot access internet
For the last few weeks I've been having a problem with connecting my iPhone to my wi-fi at home.
My iPhone connects to the wi-fi network and shows a strong signal, but it cannot access the internet. If I go to settings and forget my home wi-fi network, then restart the phone, the phone can be successfully connected to the home wi-fi after restarting and everything works fine. However, if I leave the house and then return home later, the phone will go back to not being able to access the internet when it re-joins the home wi-fi.
I suspect that there is some issue between the wi-fi router and the iPhone, and I have tried to configure the phone using both DHCP and a static IP address (reserved for the phone's mac address in my router). My suspicions here arose as I noticed that DHCP would occasionally give the phone a 169.254.x.x address (reserved for DHCP configuration failures), and I also noticed that occasionally my phone's DNS setting would be set to an IPv6 address even though I have IPv6 disabled on the router. I have tried using static DNS settings. Using a static IP address and static DNS server seemed to have helped the first time I tried them, but after the first time of seeming to work they don't help now.
All other devices (multiple laptops, smart tv, roku, etc) that connect to my home wi-fi work fine without any issue.
Has anyone else encountered this problem, and more importantly does anyone have a solution to stop this madness?
iPhone 5, iOS 10.2.1, null