update config

This commit is contained in:
DataHearth 2021-05-17 13:15:18 +02:00
parent 99efc11ce8
commit c5a780dfb0
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
1 changed files with 35 additions and 22 deletions

View File

@ -1,31 +1,44 @@
logger:
level: info # panic, fatal, error, warn, info, debug, trace
disable-timestamp: false # default false
disable-color: true # default false
disable-timestamp: true
disable-color: false
providers:
# ! WARNING: DO NOT REPLACE `SUBDOMAIN` and `NEWIP`
# Uncomment your DDNS provider
# ovh:
# url: http://www.ovh.com/nic/update?system=dyndns&hostname=SUBDOMAIN&myip=NEWIP
# username: SOME_USERNAME
# password: SOME_PASSWORD
# google:
# url: https://username:password@domains.google.com/nic/update?hostname=SUBDOMAIN&myip=NEWIP
# OR
# url: https://domains.google.com/nic/update?hostname=SUBDOMAIN&myip=NEWIP
# username: SOME_USERNAME
# password: SOME_PASSWORD
# If you want to add your DDNS provider, make sure to put the URL with the correct placeholders (e.g below)
# And they're using a standard HTTP response (body with good/nochg for OK and error, ... for errors)
# Also for now, only `basic auth` is supported.
# Predefined URLs (URL is optional in this case): `OVH`, `GOOGLE`
# Tested with: `OVH`, `GOOGLE`
watchers:
# google:
# Currently, only one subdomain is supported...
# - sub.domain-google.com
# ovh:
# - sub.domain-ovh.com
- name: ovh
# ! DO NOT REMOVE SUBDOMAIN AND IP. THEY'RE USED AS PLACEHOLDER
url: http://www.ovh.com/nic/update?system=dyndns&hostname=SUBDOMAIN&myip=NEWIP
config:
- username: some_username
password: some_password
subdomains:
- some.subdomain.com
- username: some_username
password: some_password
subdomains:
- another.subdomain.com
update-time: 300 # in seconds, default 180
pending-dns-propagation: 120 # in seconds, default 180
- name: google
# ! DO NOT REMOVE SUBDOMAIN AND IP. THEY'RE USED AS PLACEHOLDER
url: https://domains.google.com/nic/update?hostname=SUBDOMAIN&myip=NEWIP
config:
- username: some_username
password: some_password
subdomains:
- some.subdomain.com
- username: some_username
password: some_password
subdomains:
- another.subdomain.com
update-time: 100 # in seconds
pending-dns-propagation: 120 # in seconds
web-ip: http://dynamicdns.park-your-domain.com/getip # default http://dynamicdns.park-your-domain.com/getip