fix usage example

This commit is contained in:
m5r 2024-07-26 12:04:15 +02:00
parent 7ade2a9afe
commit ee62998a0c
Signed by: mokhtar
GPG Key ID: 1509B54946D08A95

View File

@ -19,13 +19,13 @@ It also obtains a separate certificate for the root domain to serve the website
```sh ```sh
go run ./main.go --staging --dns-port 9053 --http-port 9080 --https-port 9443 --domain local-ip.sh --email admin@fake.sh --nameservers 137.66.40.11,137.66.40.12 go run ./main.go --staging --dns-port 9053 --http-port 9080 --https-port 9443 --domain local-ip.sh --email admin@fake.sh --nameservers 137.66.40.11,137.66.40.12
dig @localhost 10-0-1-29.my.local-ip.sh +short dig @localhost -p 9053 10-0-1-29.local-ip.sh +short
# 10.0.1.29 # 10.0.1.29
dig @localhost app.10-0-1-29.my.local-ip.sh +short dig @localhost -p 9053 app.10-0-1-29.local-ip.sh +short
# 10.0.1.29 # 10.0.1.29
dig @localhost foo.bar.10.0.1.29.my.local-ip.sh +short dig @localhost -p 9053 foo.bar.10.0.1.29.local-ip.sh +short
# 10.0.1.29 # 10.0.1.29
dig @localhost 127.0.0.1.my.local-ip.sh +short dig @localhost -p 9053 127.0.0.1.local-ip.sh +short
# 127.0.0.1 # 127.0.0.1
``` ```