Skip to content

config.json

Simon edited this page Mar 10, 2020 · 2 revisions

You will need to create a config.json file in the same folder as pyflare.py - this file must be json formatted and contain the following elements. The example below shows how to update two records at the same time, you can add as many as you like.

{
	"items": [{
		"token": "apitokenapitokenapitoken",
		"zone": "mydomain.com",
		"record": "myrecord.mydomain.com",
		"ttl": "1"
		"proxied": 0
	}, {
		"email": "username@email.com",
		"key": "secretkeysecretkeysecretkey",
		"zone": "anotherdomain.com",
		"record": "myrecord.anotherdomain.com",
		"ttl": "1"
		"proxied": 1
	}]
}
  • ttl -> 1=automatic
  • proxied -> default=false

Clone this wiki locally