From c5a780dfb0908082a647996c443fbd2ba685b6c6 Mon Sep 17 00:00:00 2001 From: DataHearth Date: Mon, 17 May 2021 13:15:18 +0200 Subject: [PATCH] update config --- ddnsclient.yaml.sample | 57 ++++++++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/ddnsclient.yaml.sample b/ddnsclient.yaml.sample index e4d0e14..8c2ad6a 100644 --- a/ddnsclient.yaml.sample +++ b/ddnsclient.yaml.sample @@ -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