|
5 years ago | |
---|---|---|
checks | 5 years ago | |
cloudflare | 5 years ago | |
core | 5 years ago | |
engine | 5 years ago | |
handlers | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
main.go | 5 years ago |
CloudFlare High Availability monitor
CFHA is a simple daemon that will continually monitor servers you specify and add/remove them from a shared “A” record in cloudflare.
Configuring CFHA is done through a JSON file, which should be named config.json, and placed in whatever directory you will run CFHA from.
Example configuration file:
(the configuration format is currently in flux, the example will be updated when it is stable. for now just look at core/config
and build a json object to match Config
)
CFHA is limited in a few ways, due both to the author, and due to limitations in cloudflare’s API / how DNS works.
A
records since it is invalid to have multiple values for CNAME records.CFHA is made available under an ISC license. Anyone is welcome to make contributions with the understanding that they will be released under that same license.