-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.yaml
77 lines (71 loc) · 1.51 KB
/
example.yaml
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
log:
default:
format: json
level: info
verbosity: 0
output:
stdout:
enable: true
fanouts:
- format: json
level: error
verbosity: 4
output:
stderr:
enable: true
- format: json
level: debug
verbosity: 4
output:
file:
enable: true
path: /var/log/ddns/ddns.log
maxSize: 10mb
maxAge: 7d
maxBackups: 10
compress: true
ddns:
interval: 30m
provider:
provider: aliyun
aliyun:
endpoint: "dns.aliyuncs.com"
accessKeyId:
accesskeySecret:
configs:
- enable: false
record:
type: "A"
rr: "template"
domain: "example.com"
provider:
type: "interface"
interface:
interface: "ens18"
prefix: "192.168"
- enable: false
record:
type: "A"
rr: "*.template"
domain: "example.com"
provider:
type: "interface"
interface:
interface: "ens18"
prefix: "192.168"
- enable: false
record:
type: "AAAA"
rr: "template"
domain: "example.com"
provider:
type: "command"
command: "ifconfig ens18 | grep inet6 | awk '{print $2}' | grep '^240e'"
- enable: false
record:
type: "AAAA"
rr: "template"
domain: "example.com"
provider:
type: "command"
command: "ifconfig ens18 | grep inet6 | awk '{print $2}' | grep '^240e'"