for ubuntu, to set up a dynamic dns service that tells you what the external ip of some machine is
npm install dat lil-pids run-every add-to-systemd -g
mkdir ipdat; cd ipdat; dat create; cd ..;
- edit file
services
with this:
cd ipdat && dat sync
cd ipdat && run-every 3600 curl ipinfo.io/ip > ip.txt