This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yaml
53 lines (48 loc) · 1.49 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
log:
# Log verbosity. Possible values:
# trace, debug, info, warning, error, fatal
level: "debug"
# Available service providers. You only need to specify those that
# you actually use.
services:
# Here you can add generic services that follow dyndns protocols. This way
# DynGO might by able to work with services that aren't explicitly supported.
generic:
- name: "Some generic service"
url: "https://generic.service"
protocol: "dyndns2" # Currently supported protocols: dyndns2
username: "mario"
password: "it's a me"
domains:
- name: "mario.generic.service"
records: []
# These are explicitly supported services
desec:
username: "me.dedyn.io"
password: "SECRET_TOKEN"
domains:
- name: "test.me.dedyn.io"
records: [A]
- name: "test2.me.dedyn.io"
records: [A, AAAA]
porkbun:
username: "API_KEY"
password: "SECRET_KEY"
domains:
- name: "test.my.domain"
records: []
detection:
# When should DynGO check if your wan ip address has changed?
triggers:
# check periodically
cron: "0 */5 * * * *"
# check once on program startup
startup: true
# How should DynGO check if your wan ip address has changed?
strategies:
v4:
# web: "https://checkipv4.dedyn.io" # Specify a url that returns your ip as a string.
cmd: "echo '8.8.8.8'"
v6:
web: null
cmd: "echo '2a00:1450:4001:831::2003'" # Use a script that returns your ip as a string.