Go to file
2022-10-29 00:13:04 +02:00
xip return NXDOMAIN when ip can't be parsed 2022-10-29 00:13:04 +02:00
.gitignore Initial commit 2022-10-27 23:19:23 +02:00
Dockerfile Initial commit 2022-10-27 23:19:23 +02:00
fly.toml Initial commit 2022-10-27 23:19:23 +02:00
go.mod Initial commit 2022-10-27 23:19:23 +02:00
go.sum Initial commit 2022-10-27 23:19:23 +02:00
LICENSE Initial commit 2022-10-27 23:19:23 +02:00
main.go remove from zone and reduce TTL to test with an actual domain 2022-10-29 00:07:09 +02:00
README.md reorganize code 2022-10-28 23:36:57 +02:00

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