System Architecture & Zero-MySQL Engine
GeoTrace Pro is engineered around an ultra-high performance flatfile architecture. Unlike bloated database-driven scripts that suffer from SQL connection limits, database locking, and schema migrations, GeoTrace Pro operates entirely on atomic JSON flatfiles.
Sub-1ms Atomic Cache
Reads and writes use POSIX flock(LOCK_EX) to eliminate race conditions under concurrent load.
Zero MySQL Setup
Zero database imports, zero database credentials, and zero SQL injection attack surface.
100% Portable
Deploy by copying the directory to any PHP 8.0+ server (cPanel, NGINX, Apache, Docker, or VPS).
Directory Architecture
geotrace-pro/
βββ admin/ # Password-protected administration portal
βββ assets/ # CSS, vanilla JS, vector icons, SVG flags, Leaflet
βββ config/ # Protected settings & authorization config (JSON)
βββ data/
β βββ cache/ # Atomic JSON lookup cache (24hr TTL)
β βββ inquiries/ # Contact submissions & support tickets (JSON)
β βββ logs/ # Telemetry & provider request counters (JSON)
βββ includes/ # Resolvers, validators, CIDR logic, SEO graph
βββ tests/ # 83-point automated unit & regression test suite
βββ index.php # Public interactive geolocation search engine
REST API Reference
GeoTrace Pro includes an internal JSON API endpoint that can be queried programmatically to integrate IP geolocation and network telemetry into mobile apps, backend microservices, or client-side widgets.
https://demo.qcomdigital.com/geotrace/lookup-ajax.php
Resolves an IPv4 or IPv6 address and returns full geolocation, ASN, timezone, and security risk telemetry.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ip | string | Optional | The IPv4 (e.g. 8.8.8.8) or IPv6 address to resolve. If omitted, the server resolves the visitor's connecting IP address. |
Sample JSON Response
{
"success": true,
"ip": "8.8.8.8",
"ip_version": "IPv4",
"location": {
"country": "United States",
"country_code": "US",
"region": "Virginia",
"city": "Ashburn",
"postal": "20149",
"latitude": 39.0438,
"longitude": -77.4874,
"timezone": "America/New_York",
"currency": "USD",
"calling_code": "+1",
"flag_emoji": "πΊπΈ"
},
"network": {
"asn": "AS15169",
"org": "Google LLC",
"isp": "Google LLC",
"reverse_dns": "dns.google"
},
"security": {
"threat_score": 10,
"threat_level": "Low",
"is_bogon": false,
"is_proxy": false,
"is_tor": false,
"is_datacenter": true
},
"cached": true,
"execution_time_ms": 0.42
}
Code Integration Examples
Copy-paste code snippets to consume the GeoTrace Pro API in your favorite programming language.
curl -s "https://demo.qcomdigital.com/geotrace/lookup-ajax.php?ip=8.8.8.8" | jq
const response = await fetch('https://demo.qcomdigital.com/geotrace/lookup-ajax.php?ip=8.8.8.8');
const telemetry = await response.json();
console.log(`Location: ${telemetry.location.city}, ${telemetry.location.country}`);
console.log(`ISP: ${telemetry.network.isp} (ASN: ${telemetry.network.asn})`);
$ch = curl_init('https://demo.qcomdigital.com/geotrace/lookup-ajax.php?ip=8.8.8.8');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
$city = $data['location']['city'] ?? 'Unknown';
$isp = $data['network']['isp'] ?? 'Unknown';
Diagnostic Suite Overview
GeoTrace Pro includes 8 fully integrated cyber diagnostic utilities accessible via clean, extensionless URLs:
1. IP Location Finder
RootInteractive OpenStreetMap vector map with pulsing radar pin, ASN routes, live destination timezone clock, and threat score.
Launch Tool →2. What is My IP?
/my-ipAuto-detects connecting public IPv4/IPv6, browser fingerprint, ISP organization, and automated WebRTC leak detector.
Launch Tool →3. Bulk Batch Scanner
/bulkScan up to 50 IPs or hostnames simultaneously with live progress bars and 1-click CSV/JSON export.
Launch Tool →4. CIDR Subnet Calculator
/subnetBitwise CIDR calculator computing network addresses, broadcast endpoints, usable host ranges, and binary netmasks.
Launch Tool →5. Domain to IP & DNS
/domain-to-ipResolves domains into A, AAAA, MX (Mail Exchangers), and NS (Nameservers) records with response timing.
Launch Tool →6. DNSBL Blacklist Audit
/blacklistParallel reverse-octet DNSBL queries across 15 anti-spam databases (Spamhaus, Barracuda, SORBS) with official delisting links.
Launch Tool →7. Security Headers & SSL
/security-headersAudits HSTS, CSP, and X-Frame-Options with letter grading (A+ to F), SSL certificate health, and remediation code.
Launch Tool →8. Port & Firewall Checker
/port-checkerTCP socket probe verifying firewall status, open server ports, port forwarding, and measured handshake latency in ms.
Launch Tool →Upstream Geolocation Providers & Quotas
GeoTrace Pro natively supports 4 geolocation API providers with zero required API keys on free tiers. The atomic disk cache ensures that high-traffic websites run effortlessly within standard allowances:
| Provider | Daily Capacity | Rate Limit | Protocol | Pro Plan Available |
|---|---|---|---|---|
| ip-api.com | ~64,800 req/day | 45 req/min | HTTP (Free) / HTTPS (Pro) | Unlimited over HTTPS |
| ipwhois.io | ~333 req/day | Burstable | Native HTTPS | 250k - 10M+ req/mo |
| ipapi.co | 1,000 req/day | IP-throttled | Native HTTPS | 50k - 2M+ req/mo |
| freeipapi.com | ~86,400 req/day | 60 req/min | Native HTTPS | 100% Free Public API |
Enterprise Security & Anti-Abuse Controls
GeoTrace Pro incorporates a defense-in-depth security model to protect host infrastructure:
-
✓
SSRF Interceptor: Inspects all outbound socket and cURL targets, blocking loopback (
127.0.0.1), cloud metadata (169.254.169.254), and private RFC 1918 networks. - ✓ Admin Brute-Force Throttling: Enforces an automatic 15-minute IP lockout after 5 consecutive failed login attempts.
- ✓ Cryptographic Anti-CSRF: Enforces 64-character high-entropy hex tokens across all state-changing administrator actions.
- ✓ Flatfile Access Denial: Strict Apache directives prevent any direct HTTP browsing to configuration or data directories.
Frequently Asked Questions
Is a MySQL database required to run GeoTrace Pro?
No. GeoTrace Pro is built on an ultra-fast zero-database flatfile architecture using atomic file locking (flock LOCK_EX). All settings, cache files, telemetry, and inquiries are stored as optimized JSON flatfiles.
How does the REST API endpoint work?
You can query the internal lookup endpoint via HTTP GET at /lookup-ajax.php?ip=<target_ip>. The endpoint returns structured JSON containing geolocation coordinates, ISP, ASN, timezone, and security risk telemetry.
How does the atomic cache conserve API quotas?
Every resolved IP is atomically cached in data/cache/ for 24 hours (configurable in admin). Repeating lookups are served in under 1 millisecond with zero outbound requests to upstream providers.
What happens if an upstream geolocation API goes down?
GeoTrace Pro implements automatic cascade fallback across 4 enterprise providers (ip-api.com, ipwhois.io, ipapi.co, and freeipapi.com). If the primary provider times out, the resolver instantly switches to the secondary provider with zero visitor downtime.