Skip to content

How to check a proxy’s exit IP, carrier and DNS

After you set up a proxy, three questions matter: which address do websites see, which network does it belong to, and do your name lookups leave through the proxy as well? This guide answers each one with commands you can run in a minute.

  • By FalconProxy
  • Reviewed
  • 5 min read
On this page
  1. 01Find the exit IP
  2. 02See the network and the carrier
  3. 03Read the result
  4. 04Check the name lookups
  5. 05Other ways an address shows

Find the exit IP

The exit IP is the address a website sees. Ask a public service for it twice, once without the proxy and once through it. Replace USERNAME and PASSWORD with the values from the proxy’s Access panel.

Without the proxy

shell
curl https://api.ipify.org

Through the proxy

shell
curl -x http://USERNAME:PASSWORD@api.falconproxy.com:8080 https://api.ipify.org

The two addresses should differ. The second is your phone’s connection. It looks like this:

output
203.0.113.42

Run the second command a few times. On a mobile connection the address stays the same while the connection holds, and it can change after the phone reconnects or when you rotate it. See static and rotating proxies.

See the network and the carrier

A lookup service can tell you who owns an address. This one returns the address, an estimated place and the owner’s network:

shell
curl -x http://USERNAME:PASSWORD@api.falconproxy.com:8080 https://ipinfo.io/json
json
{
  "ip": "203.0.113.42",
  "city": "Example City",
  "region": "Example Region",
  "country": "ZZ",
  "org": "AS64496 Example Mobile Carrier"
}

These are sample values. The org field starts with the network number (the ASN), followed by the owner’s name. That is the part to read. The dashboard shows the same facts for your phone in the Connection panel on the proxy’s page: the exit IP, the network type, the carrier, the location and the ASN.

Read the result

The owner of the address tells you what kind of connection you have. The guide on mobile, residential and datacenter proxies explains the kinds; this table is the quick read.

https://ipinfo.io/json
ip
203.0.113.42
The address websites see.
org
AS64496 Example Mobile Carrier
The network number, then the owner. This is the answer.
city
Example City
An estimate, often the carrier’s gateway.
country
ZZ
Also an estimate, from the address’s registration.
The org field starts with the network number and then names the owner. That is the part to read; the place is only an estimate.
What the owner of the address tells you
The owner isIt meansWhat to check
A mobile carrierThe traffic leaves through a mobile connection.Nothing, if that is what you set up in Cellular mode.
A home internet providerThe traffic leaves through a home or office line.That is expected in WiFi Residential mode. In Cellular mode, check the phone’s connection.
A hosting or cloud companyThe address is a data center’s, which is not what a phone gives you.Check that the request went through the proxy and not through another tool.
Your own providerThe request did not use the proxy.Check the proxy option, the quotes and any environment variable that overrides it.

Check the name lookups

Before a tool can connect to a website it has to turn the name into an address. If your own machine does that, the lookup leaves from your own connection even though the traffic itself goes through the proxy. The site sees the proxy, but your resolver sees the name.

The guide on SOCKS5 and HTTP proxies explains why the two behave differently:

  • With an HTTP proxy, the tool sends the name to the proxy, so the proxy looks it up.
  • With SOCKS5, it depends on the scheme: socks5h sends the name to the proxy, and socks5 looks it up locally.

You can see which one curl used by adding -v:

shell
curl -v --proxy socks5h://USERNAME:PASSWORD@api.falconproxy.com:1080 https://example.com -o /dev/null
output
* SOCKS5 connect to example.com:443 (remotely resolved)
* SOCKS5 request granted.

“Remotely resolved” means the proxy did the lookup. “Locally resolved” means your machine did. For browsers and other tools, look for the same option in their proxy settings, and use an online name-lookup leak test in the browser you actually use.

Other ways an address shows

A browser can show addresses by routes other than the proxy, such as WebRTC, which is built for direct connections between browsers. If it matters that nothing but the proxy’s address shows, test in the browser and the profile you use for the job, not only with curl.

IPv4 and IPv6

An address with colons in it is IPv6, and one with dots is IPv4. Many mobile networks hand out both. To see which one a request used, force one of them:

shell
curl -4 -x http://USERNAME:PASSWORD@api.falconproxy.com:8080 https://api64.ipify.org
curl -6 -x http://USERNAME:PASSWORD@api.falconproxy.com:8080 https://api64.ipify.org

The second command fails when there is no IPv6 route, which is normal. What matters is that you know which one your tool prefers.

FAQ

Questions, answered.

Request an address-echo page such as api.ipify.org through the proxy and again without it. The two addresses should differ, and the one through the proxy is the address websites see. The Connection panel on the proxy’s page in your dashboard shows it too.

Compare the address a site sees through the proxy with your own, check which side looks up host names, and test in the same browser profile you use for the job. A match between the proxy’s address and your own, or a lookup that leaves from your machine, is a leak.

Lookup services estimate the place from the registration of the address and other data. Mobile addresses are often placed at the carrier’s gateway, which can be far from the phone. The owner’s network name is the more reliable part.

An autonomous system number identifies a network on the internet. Each carrier, internet provider and hosting company has one, so a lookup of an address returns the number and name of the network that owns it.

Ready to create your own proxies?

2-hour free trial, no card—pair your phone in minutes.

Already have an account? Sign in

FalconProxy