API.CloudFlare.DynDNS/CloudFlare.config.php

28 lines
1.1 KiB
PHP

<?php
return array(
'cloudflare_email' => 'cloudflare.com.danny@spamasaurus.com',
// the email address you use to log into CloudFlare
'cloudflare_apikey_file' => 'CloudFlare.api.key',
// File containing your CloudFlare token. Get it here: https://www.cloudflare.com/a/account/my-account
'domainnames' => ['[@.]spamasaurus.com', '[@.]bessems.eu', '[deschakel.]bessems.eu', '[@.]bessems.com', '[@.]gabaldon.eu', '[@.]gabaldon.nl', '[@.]itch.fyi'],
// List of domains to be updated
// Syntax:
// '[@.]example.com'
// or
// '[subdomain.]example.com'
'ttl' => 1,
// a TTL of 1 means "automatic". if you want a fixed TTL, make it >= 120 (seconds)
'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
);
?>