✳️ mgnl.me

A wildcard DNS service for developers. Magic IP resolution in domain names.

How it Works

This service resolves DNS queries based on patterns found in the subdomain. It's useful for testing environments, local development, and accessing services with dynamic IPs without needing to edit `/etc/hosts`.

Scenario 1: Magic IP Embedding

If you include an IP address in the domain name (using dots or dashes), it will resolve to that specific IP.

192.168.1.50.mgnl.me 192.168.1.50
10-0-0-55.mgnl.me 10.0.0.55
my-app.172.16.0.1.mgnl.me 172.16.0.1

Scenario 2: Local Development (Fallback)

Any subdomain that does not contain an IP address pattern defaults to 127.0.0.1 (Localhost). Perfect for developing on your local machine.

dev.mgnl.me 127.0.0.1
author.mgnl.me 127.0.0.1
anything-else.mgnl.me 127.0.0.1

Scenario 3: Root Domain

The root domain itself resolves to this server's public IP address.

mgnl.me 51.45.25.245 (This Server)