dynamic dns
This commit is contained in:
parent
3a05db554c
commit
fb8a03ae22
1 changed files with 12 additions and 5 deletions
|
|
@ -1,3 +1,12 @@
|
|||
GLOBAL_IP=`dig +short @dns.toys -4 ip`
|
||||
|
||||
.PHONY: server server-opt
|
||||
server: surnames.txt names.txt
|
||||
GLOBAL_IP=$(GLOBAL_IP) cargo run
|
||||
|
||||
server-opt: surnames.txt names.txt
|
||||
GLOBAL_IP=$(GLOBAL_IP) cargo run --release
|
||||
|
||||
surnames.txt:
|
||||
curl https://raw.githubusercontent.com/Hyneman/moby-project/672f6bdca054c42d375f065ffee87e8ceba0c242/moby/mwords/21986na.mes |\
|
||||
iconv -f cp1252 - > surnames.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue