Go to file
2023-12-12 23:05:57 +01:00
.lego/accounts first iteration to automate certificate generation 2023-02-26 11:02:30 +01:00
certs housekeeping 2023-12-12 22:25:39 +01:00
http serve wildcard certificate files 2023-12-12 23:05:57 +01:00
xip housekeeping 2023-12-12 22:25:39 +01:00
.dockerignore first iteration to automate certificate generation 2023-02-26 11:02:30 +01:00
.gitignore first iteration to automate certificate generation 2023-02-26 11:02:30 +01:00
Dockerfile housekeeping 2023-12-12 22:25:39 +01:00
fly.toml always have 1 machine running 2023-12-12 22:26:45 +01:00
go.mod housekeeping 2023-12-12 22:25:39 +01:00
go.sum housekeeping 2023-12-12 22:25:39 +01:00
LICENSE Initial commit 2022-10-27 23:19:23 +02:00
main.go serve wildcard certificate files 2023-12-12 23:05:57 +01:00
README.md update readme 2022-10-30 18:59:37 +01:00

local-ip.sh

local-ip.sh is a DNS service that resolves IP addresses from a specifically formatted hostname.
It was inspired by local-ip.co, sslip.io and xip.io

Usage

go run ./main.go

dig @localhost 10-0-1-29.my.local-ip.sh +short
# 10.0.1.29
dig @localhost app.10-0-1-29.my.local-ip.sh +short
# 10.0.1.29
dig @localhost foo.bar.10.0.1.29.my.local-ip.sh +short
# 10.0.1.29
dig @localhost 127.0.0.1.my.local-ip.sh +short
# 127.0.0.1