-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
81 lines (79 loc) · 3.11 KB
/
config.yaml
File metadata and controls
81 lines (79 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
ip:
# query_urls is a list of URLs
# used to query the external IP address.
query_urls:
- https://ipinfo.io/ip
- https://icanhazip.com
- https://checkip.amazonaws.com/
- https://myexternalip.com/raw
- https://ifconfig.me/ip
# interval is a cron expression
# used to schedule the IP address query
# at regular intervals.
# Example
# Every minute: 0 * * * * *
# Every 5 minutes: 0 */5 * * * *
interval: "0 * * * * *"
email:
# smtp_host is the hostname or IP address
# of the SMTP server used to send emails.
smtp_host: mail.example.com
# smtp_port is the port number of the SMTP server.
smtp_port: 25
# smtp_user is the username used to authenticate
# with the SMTP server.
smtp_user: sender@example.com
# smtp_passwd is the password used to authenticate
# with the SMTP server.
smtp_passwd: passwd
# from is the email address of the sender.
from: sender@example.com
# to is a list of email addresses
# to send the notifications to.
to:
- recipient1@example.com
- recipient2@example.com
DDNS:
# DNSPod is a DDNS provider that can be used to automatically update DNS records for a given domain and subdomain.
DNSPod:
# Set "enabled" to true to enable DDNS with DNSPod.
enabled: false
# "login_token" is the authentication token used to authenticate with the DNSPod API.
login_token: "login token"
# "records" is a list of DNS record information that needs to be updated.
records:
# Each record has the following fields:
# - "domain_id": The domain ID for the domain to update the DNS record for.
# - "record_id": The record ID for the DNS record to update.
# - "sub_domain": The subdomain for the DNS record to update.
# - "record_type": The type of the DNS record to update.
# - "record_line": The line for the DNS record to update.
# - "ttl": The time-to-live (TTL) for the DNS record in seconds.
-
domain_id: "your domain id"
record_id: "your record id"
sub_domain: "www"
record_type: "A"
record_line: "默认"
ttl: 600
# Cloudflare is a DDNS provider that can be used to automatically update DNS records for a given domain and subdomain.
Cloudflare:
# Set "enabled" to true to enable DDNS with Cloudflare.
enabled: false
# "api_token" is the authentication token used to authenticate with the Cloudflare API.
api_token: "your api token"
# "records" is a list of DNS record information that needs to be updated.
records:
# Each record has the following fields:
# - "zone_id": The ID for the zone to update the DNS record for.
# - "record_id": The ID for the DNS record to update.
# - "record_name": The name of the DNS record to update.
# - "record_type": The type of the DNS record to update.
# - "ttl": The time-to-live (TTL) for the DNS record in seconds.
-
zone_id: "your zone id"
record_id: "your record id"
record_name: "www.example.com"
record_type: "A"
ttl: 1
proxied: true