1. A computer-implemented method executed by one or more processors in a computing device, the method comprising: sending a domain name resolution query including a domain name; receiving a domain name resolution response including a network address; determining a current network location of the computing device based on the received domain name resolution response; and applying to the computing device either an internal network configuration or an external network configuration depending on the determined current network location of the computing device.