Sign inSign up

wention/cloudflare-ddns

By wention

•Updated almost 7 years ago

Created since "joshuaavalon/cloudflare-ddns" is not lastest updated, and always failed to fetch ip.

Image
0

240

wention/cloudflare-ddns repository overview

Example configuration:

config.yaml

api: https://api.cloudflare.com/client/v4/
auth:
  globalToken: abcde6e2866ec534b62e2ffc8b7bbacb239
  email: [email protected]
domains:
  - name: nas.example.com
    type: A
    proxied: false 
    create: true
    zoneName: example.com
ipv4:
  - type: json
    url: https://v4.ident.me/.json
    fields:
      - address
  - type: json
    url: https://api.ipify.org?format=json
    fields:
      - ip

Run docker:

docker run --name cloudflare-ddns -d --restart always -v `pwd`/config.yaml:/app/config.yaml wention/cloudflare-ddns

Refer: https://github.com/joshuaavalon/docker-cloudflare/blob/master/docs/guide/configuration.md⁠

Tag summary

Content type

Image

Digest

Size

39.5 MB

Last updated

almost 7 years ago

docker pull wention/cloudflare-ddns