IP Inspection Guide for Overseas Business Operations: Five-Dimension Assessment and Compliant Maintenance

    This guide walks teams running their own servers, proxy nodes, or office egress through a five-dimension IP inspection workflow: IP attributes, blacklists, traffic patterns, geographic consistency, and leak risks. It includes a ready-to-run Python script for DNSBL checks, DNS and WebRTC leak testing procedures, and a comparison table you can adapt to your own baseline. The goal is to verify that your infrastructure has no obvious weaknesses before issues affect your accounts—not to evade platform risk controls.

    1. Scope and Prerequisites

    This article is for teams that own their servers, proxy nodes, or office network egress. All checks described here apply only to equipment and egress under your team’s control. Before starting, confirm that the egress is provided by your team or by a vendor with written authorization.

    This article does not cover how to bypass platform risk controls, nor does it recommend faking time zones, languages, or device parameters for a specific region.

    The purpose of the inspection is concrete: confirm that your own infrastructure has no obvious weaknesses. Examples include an egress IP that has landed on a public blacklist, DNS requests that bypass the proxy, or geolocation that severely mismatches your actual business location. These issues increase the likelihood of being prompted for additional verification. However, they are only one input to risk scoring—platforms also consider account history, payment information, and operational frequency. A clean egress IP alone does not guarantee account safety.

    2. Five Assessment Dimensions and a Checklist

    A single metric rarely tells the whole story. Record each item in the table below during every inspection. The judgment references should be set by your team based on your own historical baseline—don’t copy them blindly.

    Dimension Metrics to Watch Data Sources Judgment Reference Remediation
    IP attributes Autonomous system, operating entity, whether flagged as hosting WHOIS, routing info Consistent with the network type your business claims If inconsistent, verify the procurement channel and contract
    Blacklists Hits on public DNSBLs Spamhaus and other public lists No hit passes; a failed lookup does not count as passing If hit, pause new activity on that egress, report to the provider, and file an appeal
    Traffic patterns Request frequency, session duration, error rate Business logs Deviation from historical baseline beyond your team’s threshold Adjust business pacing; check for runaway scripts
    Geographic consistency Egress location, system time zone, language, business location At least two GeoIP databases All sources agree Verify actual server configuration; do not fake anything
    Leak risks DNS resolvers, WebRTC candidates Local command output, browser test pages No exposure of real internal or public IP addresses Fix proxy client and browser configuration

    3. Confirming Your Current Egress IP

    The environment requires Python 3.10 or later, with the requests and dnspython libraries. Install them with pip install requests dnspython. The machine running the script needs public internet access, and your team’s proxy node should already be running.

    The script below fetches the IP of both the direct and proxy egress, then performs a DNSBL lookup on the proxy egress. Replace the proxy address with your own node before running.

    1. # Dependencies: pip install requests dnspython (Python 3.10+)
    2. import ipaddress
    3. import requests
    4. import dns.resolver
    5. # Replace with your team's own proxy node address
    6. PROXY = {
    7. "http": "http://127.0.0.1:7890",
    8. "https": "http://127.0.0.1:7890",
    9. }
    10. ECHO_URL = "https://api.ipify.org?format=json"
    11. DNSBL_ZONE = "zen.spamhaus.org"
    12. def get_egress_ip(proxies=None, timeout=10):
    13. resp = requests.get(ECHO_URL, proxies=proxies, timeout=timeout)
    14. resp.raise_for_status()
    15. return resp.json()["ip"]
    16. def dnsbl_lookup(ip, zone=DNSBL_ZONE):
    17. if ipaddress.ip_address(ip).version != 4:
    18. raise ValueError("This example only handles IPv4 addresses")
    19. reversed_ip = ".".join(reversed(ip.split(".")))
    20. try:
    21. answers = dns.resolver.resolve(f"{reversed_ip}.{zone}", "A", lifetime=5)
    22. except dns.resolver.NXDOMAIN:
    23. return []
    24. except (dns.resolver.NoAnswer, dns.resolver.NoNameservers,
    25. dns.resolver.Timeout):
    26. return None
    27. codes = [str(rdata) for rdata in answers]
    28. # 127.255.255.x means the resolver was refused by the list operator; result is invalid
    29. if any(code.startswith("127.255.255.") for code in codes):
    30. return None
    31. return codes
    32. if __name__ == "__main__":
    33. direct_ip = get_egress_ip()
    34. proxy_ip = get_egress_ip(PROXY)
    35. print(f"Direct egress: {direct_ip}")
    36. print(f"Proxy egress: {proxy_ip}")
    37. hits = dnsbl_lookup(proxy_ip)
    38. if hits is None:
    39. print("DNSBL: lookup failed, result unknown")
    40. elif hits:
    41. print(f"DNSBL: hit {hits}")
    42. else:
    43. print("DNSBL: no hit")

    Expected sample output (IPs are documentation example addresses):

    1. Direct egress: 203.0.113.10
    2. Proxy egress: 198.51.100.24
    3. DNSBL: no hit

    If the direct and proxy egress show the same IP, the proxy is not taking effect. Check whether the proxy client is running, whether the port is correct, and whether the system or business processes are actually using the proxy settings.

    Before using any DNSBL, read the list operator’s terms of use. Public resolvers are frequently refused by list operators, in which case the script returns “result unknown”—do not treat that as a no-hit. If you query in bulk, control your request rate and respect the operator’s rate limits.

    4. DNS and WebRTC Leak Checks

    The following checks should only be performed on team-owned devices and test browsers. Results are used to fix your team’s proxy configuration—not to probe others or evade platform detection.

    DNS resolver check

    With the proxy enabled, check which DNS resolvers the system is actually using:

    • Linux: resolvectl status or cat /etc/resolv.conf
    • macOS: scutil --dns
    • Windows: ipconfig /all

    Expected result: the resolver is the one specified by the proxy client, or one configured by your team. If the resolver shows your local ISP’s address and doesn’t match the region of your proxy egress, DNS requests are bypassing the proxy. Fix this by enabling the DNS-over-proxy option in your proxy client per its documentation, then re-run the check.

    WebRTC candidate check

    In a team-owned test browser profile, open a local or internal WebRTC test page and inspect the candidate address list.

    Expected result: the list contains only the proxy egress address, or obfuscated hostnames. It should not contain internal addresses like 192.168.x.x or 10.x.x.x, nor your machine’s real public IP.

    If a real address leak is found, you can restrict WebRTC behavior through your team’s browser management policies.