Git Product home page Git Product logo

ddnsup's People

Contributors

dependabot[bot] avatar jcostom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

arimal199

ddnsup's Issues

fix for dnsomatic

Great work; best I've found.

For DNS-0-Matic, there are undefined variables in ddnsup.py. Correcting the following lines resolves the issue and the record updates correctly.

DOM_USER = os.getenv('DOM_USER')
DOM_PASSWD = os.getenv('DOM_PASSWD')
DOM_WILDCARD = os.getenv('DOM_WILDCARD', 'NOCHG')
DOM_MX = os.getenv('DOM_MX', 'NOCHG')
DOM_BACKUPMX = os.getenv('DOM_BACKUPMX', 'NOCHG')`

Side note:
OpenDNS credentials are required. I signed up a long time ago and had DNS-O-Matic credentials. I feel it may help to mention that.

Provide an path option for secrets

Hey, first of all, thanks a lot for making this!

Docker provides a mechanism for secret management, but it takes file_paths to read the values from.
Would it be possible to have the secrets also have an option to read from a path.
like adding API_KEY_PATH, and the script would read the value from a file path supplied ?
(incidentally systemd has a very similar system).

happy to give details on anything.

Include Missing Variables

example-dnsomatic-docker-compose.yaml.

Only to include the rest of the useable variables. Not "needed", as they do populate by ddnsup.py. This is only for reference in case they need to be used by others, saving time discovering them within ddnsup.py.

Also disabled Telegram by default, and noted OpenDNS credentials are required (For legacy users with DNS-O-Matic credentials) that I mentioned in my other submitted issue. I feel these changes will make it easier/faster to deploy.

environment:
  - PROVIDER=dnsomatic
  - DOM_USER=my-opendns-username
  - DOM_PASSWD=my-opendns-password
  - DOM_MX=NOCHG
  - DOM_BACKUPMX=NOCHG
  - DOM_WILDCARD=NOCHG
  - RECORDS=list,of,hostnames,you,are,updating
  - USETELEGRAM=0
  - CHATID='Your Telegram Chat ID'
  - MYTOKEN='Your Telegram Bot Token'
  - SITENAME='Your Site Identifier'
  - TZ=America/New_York # or whatever makes sense for you

Thanks again for all your work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.