Skip to main content

Live Demo

Try ResolverOne

Test the service with these example queries in your terminal:

# Query your own public IP
dig TXT $(curl -s icanhazip.com).rslvr.one

# Query Google's DNS
dig TXT 8.8.8.8.rslvr.one

# Query Cloudflare's DNS
dig TXT 1.1.1.1.rslvr.one

Expected Output Format:

"US|United States|North America|NA|AS15169|Google LLC|google.com"

Response Format Breakdown

When you query 8.8.8.8.rslvr.one, you get back pipe-separated values:

"US|United States|North America|NA|AS15169|Google LLC|google.com"
│ │ │ │ │ │ │
│ │ │ │ │ │ └─ AS Domain
│ │ │ │ │ └─ AS Name
│ │ │ │ └─ ASN (Autonomous System Number)
│ │ │ └─ Continent Code
│ │ └─ Continent Name
│ └─ Country Name
└─ Country Code (ISO 3166-1 alpha-2)

Parsing the Response

#!/bin/bash
response=$(dig TXT 8.8.8.8.rslvr.one +short | tr -d '"')
IFS='|' read -ra parts <<< "$response"

echo "Country Code: ${parts[0]}"
echo "Country: ${parts[1]}"
echo "Continent: ${parts[2]}"
echo "Continent Code: ${parts[3]}"
echo "ASN: ${parts[4]}"
echo "AS Name: ${parts[5]}"
echo "AS Domain: ${parts[6]}"

Health Check

Want to test if our service is running? Query the health endpoint:

dig TXT health.rslvr.one

You should get back:

"OK"

Monitor real-time service status: status.shinypebble.dev/status/r1


Performance Testing

Speed Test

# Time a single query
time dig TXT 8.8.8.8.rslvr.one +short

# Run multiple queries to test consistency
for i in {1..10}; do
time dig TXT 1.1.1.1.rslvr.one +short >/dev/null
done

Bandwidth Usage

# DNS query response
dig TXT 8.8.8.8.rslvr.one +short | wc -c
# ~80 bytes (just the geo data)

# Compare to typical HTTP IP Location API
curl -s "https://ipapi.co/8.8.8.8/json/" | wc -c
# ~800+ bytes (JSON response with similar data)

Common Use Cases to Try

1. Check Your Device's Location

# First get your public IP
MY_IP=$(curl -s ifconfig.me)
echo "My IP: $MY_IP"

# Then query its location
dig TXT $MY_IP.rslvr.one +short

2. Validate VPN Location

# Before VPN
dig TXT $(curl -s ifconfig.me).rslvr.one +short

# Connect to VPN, then check again
dig TXT $(curl -s ifconfig.me).rslvr.one +short

3. Batch Process Multiple IPs

# Create a list of IPs to check
echo "8.8.8.8
1.1.1.1
208.67.222.222" > ips.txt

# Check each one
while read ip; do
echo "IP: $ip"
dig TXT $ip.rslvr.one +short
echo "---"
done < ips.txt

Questions or Issues?

Ready to get started? View Documentation