Skip to content

HillLiu/cloudflare-bash-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare bash tool

Features

Support .env (ini config)

You could use different .env file to manage multi domains

ENV=.env-lan ./update-dns.sh
ENV=.env-wan ./update-dns.sh

Support debug mode

  • DEBUG=1 ./update-dns.sh

Support wan and lan ip

  • IP_TYPE=lan ./update-dns.sh
  • IP_TYPE=wan ./update-dns.sh

Use Crontab autoupdate

  • sudo crontab -e
*/5 * * * * /home/sys/bin/update-dns.sh 

Inspire

Change Log

  • 20190728
    • Add logging support
    • proxied could auto transfer to boolean value.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages