As shenan1982 has already said, location can check IP, DNS and/or GPS. VPN/proxy can alter IP and DNS. I use Protect My Privacy for GPS spoofing. And DNS settings can be changed manually in the wifi settings but if you need to change over cellular I use GuizmoDNS.