[IPinfoHack] resolver.one - DNS-based IP Geolocation Lookup Service

Resolver.one - DNS-based IP Data Lookup Service

Hey IPinfo community! Excited to share my Hackathon 2025 submission: resolver.one - a high-performance DNS server that delivers IPinfo Lite data directly through DNS queries.

vhs-6NxH1pnVbfHVtP5UtF3KPX

How it Works

Simply query any IP address as a DNS TXT record:

dig TXT 8.8.8.8.rslvr.one

Key Features

  • Dual Protocol Support: Handles both UDP and TCP DNS queries on port 53
  • IPinfo.io Integration: Powered by IPinfo Lite MMDB database for accurate IP metadata
  • Structured Response Format: Returns pipe-separated values with country, continent, ASN, and AS domain info
  • Production Ready: Includes health checks, comprehensive error handling, and proper DNS zone support (A, NS, SOA records)
  • Built for Scale: Modern Async Python implementation
  • Simple API: No authentication needed - just standard DNS queries

Technical Implementation

Built with Python’s asyncio for high concurrency, using dnslib for DNS protocol handling and maxminddb for blazing-fast IP lookups. The server validates queries, ensures they’re within the rslvr.one zone, and returns NXDOMAIN/REFUSED for invalid requests.

Check out the documentation and try it yourself:

Looking forward to your feedback! This project showcases IPinfo’s data accessibility through an unconventional but practical DNS interface.

I just saw your HN comment and literally dropped this comment, which I promptly deleted!

Ha ha ha Incredible project, dude. Thank you for submitting this on our hackathon!