1. A computer-implemented method executed by an electronic device to diagnose a wireless network connectivity problem of the electronic device, comprising: detecting the wireless network connectivity problem; performing a first Domain Name System (DNS) resolution test using a wireless network configuration of the electronic device; determining that the first DNS resolution test fails; determining that the wireless network configuration includes a custom DNS entry; performing a second DNS resolution test without the custom DNS entry; determining that the second DNS resolution test without the custom DNS entry succeeds; and determining a recommendation comprising removing the custom DNS entry from the wireless network configuration.