xip | ||
.gitignore | ||
Dockerfile | ||
fly.toml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
local-ip.dev
local-ip.dev is a DNS service that resolves IP addresses from a specifically formatted hostname.
It was inspired by local-ip.co and
Usage
$ dig 10-0-1-29.my.local-ip.dev +short
10.0.1.29
$ dig app.10-0-1-29.my.local-ip.dev +short
10.0.1.29
$ dig foo.bar.10.0.1.29.my.local-ip.dev +short
10.0.1.29
$ dig 127.0.0.1.my.local-ip.dev +short
127.0.0.1