forked from fire1ce/DDNS-Cloudflare-Bash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate-cloudflare-dns.conf
More file actions
24 lines (22 loc) · 855 Bytes
/
update-cloudflare-dns.conf
File metadata and controls
24 lines (22 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##### Config
## Which IP should be used for the record: internal/external/globalv6
## Internal interface will be chosen automaticly as a primary default interface
what_ip="internal"
## DNS record to be updated, you can separate multiple records by comma
dns_record="ddns.example.com,ddns2.example.com"
## DNS record type to update, set to AAAA when using IPv6
dns_record_type=A
## Cloudflare's Zone ID, you can find this on the landing/overview page of your domain.
zoneid="ChangeMe"
## Cloudflare Zone API Token
cloudflare_zone_api_token="ChangeMe"
## Use Cloudflare proxy on dns record true/false
proxied="false"
## 120-7200 in seconds or 1 for Auto
ttl=120
## Telegram Notifications yes/no (only sent if DNS is updated)
notify_me_telegram="no"
## Telegram Chat ID
telegram_chat_id="ChangeMe"
## Telegram Bot API Key
telegram_bot_API_Token="ChangeMe"