-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcfddns.example.yml
More file actions
93 lines (85 loc) · 3.26 KB
/
cfddns.example.yml
File metadata and controls
93 lines (85 loc) · 3.26 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
82
83
84
85
86
87
88
89
90
91
92
93
generalSettings:
updateInterval: 300 # Optional, defaults to 300 seconds (5 minutes)
connectivityCheckInterval: 10 # Optional, defaults to 10 seconds
connectivityCheckIP: "8.8.8.8" # Optional, defaults to "8.8.8.8"
connectivityCheckPort: "53" # Optional, defaults to "53"
providers:
- type: "cloudflare" # The DNS provider type
settings:
# Cloudflare account settings
zone: "example.com" # Your domain name registered with Cloudflare
# email: "user@example.com" # (Required if using global API key)
# globalApiKey: "your_global_api_key" # (Required if using global API key)
apiToken: "your_api_token" # (Preferred) API Token with DNS edit permissions
records:
# DNS records to update for this provider
- name: "subdomain.example.com" # The full DNS record name you want to update
type: "A" # Record type ('A' for IPv4, 'AAAA' for IPv6, etc.)
proxied: true # (Cloudflare-specific) Whether the record is proxied through Cloudflare (true/false)
ttl: 300 # Time to live in seconds (1 for 'automatic' in Cloudflare)
- name: "another.example.com"
type: "AAAA"
proxied: false
ttl: 120
- type: "route53" # The DNS provider type
settings:
# Route 53 account settings (AWS credentials are required)
zone: "example.org" # Your domain name registered with Route 53
region: "us-east-1" # (Optional) AWS region (default is 'us-east-1')
accessKeyId: "your_aws_access_key_id" # (Required) Your AWS Access Key ID
secretAccessKey: "your_aws_secret_access_key" # (Required) Your AWS Secret Access Key
records:
# DNS records to update for this provider
- name: "subdomain.example.org"
type: "A"
ttl: 300
- name: "another.example.org"
type: "AAAA"
ttl: 600
- type: "digitalocean"
settings:
domain: "example.net"
apiToken: "your-digitalocean-api-token"
records:
- name: "subdomain"
type: "A"
ttl: 300
- name: "subdomain"
type: "AAAA"
ttl: 300
- type: "clouddns"
settings:
projectId: "your-gcp-project-id"
credentialsJsonPath: "/path/to/your/service-account-key.json"
zone: "example.org"
records:
- name: "cfddns.example.org"
type: "A"
ttl: 300
- type: "duckdns"
settings:
token: "your-duckdns-token"
records:
- name: "subdomain" # without duckdns.org
type: "A"
- type: "noip"
settings:
username: "your_noip_username"
password: "your_noip_password"
records:
- name: "yourhostname.no-ip.org"
type: "A"
- type: "freedns"
records:
- name: "yourhostname.mooo.com"
type: "A"
updateToken: "your-freedns-update-token"
- type: "dynu"
settings:
username: "your_dynu_username"
password: "your_dynu_ip_update password"
records:
- name: "yourhostname.freeddns.org"
type: "A"
- name: "yourhostname.freeddns.org"
type: "AAAA"