Embedded IP Resolution
Any <name>-<ip>.domain hostname resolves to the embedded IP. IPv4 and IPv6 supported.
DNS server for development HTTPS — resolve any IP from a hostname, with free wildcard TLS.
$ dig 127-0-0-1.anyip.dev +short
127.0.0.1
$ dig myapp-192-168-1-5.anyip.dev +short
192.168.1.5
$ curl https://myapp-127-0-0-1.anyip.dev # ✅ valid TLS
Use the public anyip.dev service — no setup required.
Embed any IP address in the hostname. It just works:
ping myapp-192-168-1-5.anyip.dev # → 192.168.1.5
curl http://127-0-0-1.anyip.dev:3000 # → connects to localhost:3000
# Nested subdomains work too
dig preview.127-0-0-1.anyip.dev +short # → 127.0.0.1
Download the wildcard certificate to enable HTTPS on your local dev server:
# Download cert + key
curl -o fullchain.pem https://anyip.dev/cert/fullchain.pem
curl -o privkey.pem https://anyip.dev/cert/privkey.pem
# Use with any framework
vite --https --host \
--ssl-cert fullchain.pem --ssl-key privkey.pem
For nested subdomains like user1.127-0-0-1.anyip.dev, request a per-IP wildcard cert:
# Request issuance (~10-30s on first call)
curl -X POST https://anyip.dev/cert/sub/127-0-0-1
# Download
curl -o fullchain.pem https://anyip.dev/cert/sub/127-0-0-1/fullchain.pem
curl -o privkey.pem https://anyip.dev/cert/sub/127-0-0-1/privkey.pem
Use AnyIP as an encrypted DNS resolver in your browser:
# Browser: Settings → Secure DNS → Custom
https://anyip.dev/dns-query
# Or query directly
curl "https://anyip.dev/dns-query?name=127-0-0-1.anyip.dev&type=A"
Any <name>-<ip>.domain hostname resolves to the embedded IP. IPv4 and IPv6 supported.
prefix.ip.domain also resolves — perfect for per-user or per-branch preview domains.
Let's Encrypt wildcard certificates via DNS-01, with auto-renewal. Root and per-IP subdomain certs.
Download certs over HTTPS. One curl command to get your dev server running with valid TLS.
RFC 8484 compliant DoH endpoint. Use as your browser's secure DNS resolver.
Written in Go. Zero dependencies, cross-platform. Deploy anywhere in minutes.
Deploy your own instance with Docker:
# 1. Point NS records to your server
# anyip.dev. NS ns1.anyip.dev.
# ns1.anyip.dev. A <your-server-ip>
# 2. Run with Docker
docker run -d --name anyip \
-e ANYIP_DOMAIN=yourdomain.dev \
-e ANYIP_ACME_EMAIL=you@example.com \
-p 53:53/udp -p 53:53/tcp -p 443:443 \
-v anyip-certs:/certs \
ghcr.io/taptap/anyip:latest
Or build from source: go build -o anyip ./src
See the full self-hosting guide for details.