-
Notifications
You must be signed in to change notification settings - Fork 29
/
config.php.skel
20 lines (14 loc) · 1.18 KB
/
config.php.skel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
return array(
'cloudflare_email' => '', // the email address you use to log into CloudFlare
'cloudflare_api_key' => '', // your CloudFlare token. Get it here: https://www.cloudflare.com/a/account/my-account
'domain' => [''], // the name of the domain(s) (e.g. "example.com")
'record_name' => [''], // the full name of the record(s) that this script will update (e.g. "my.computer.example.com")
// the record(s) must be part of the domain(s) that you specified above
'ttl' => 1, // a TTL of 1 means "automatic". if you want a fixed TTL, make it >= 120 (seconds)
'proxied' => false, // Whether the record is receiving the performance and security benefits of Cloudflare
'protocol' => 'ipv4', // what protocol to use to get the ip address. Possible values: "ipv4", "ipv6", "auto".
'auth_token' => '' // (optional) if set, enable API mode and require this auth_token to set IP
// generate a random string here:
// https://www.random.org/strings/?num=1&len=20&digits=on&upperalpha=on&loweralpha=on&format=plain
);