You could use different .env file to manage multi domains
ENV=.env-lan ./update-dns.sh
ENV=.env-wan ./update-dns.sh
- Sample .env
- DEBUG=1 ./update-dns.sh
- IP_TYPE=lan ./update-dns.sh
- IP_TYPE=wan ./update-dns.sh
- sudo crontab -e
*/5 * * * * /home/sys/bin/update-dns.sh
- 20190728
- Add logging support
- proxied could auto transfer to boolean value.