Coder Social home page Coder Social logo

lazaroblanc / ionos-dyndns Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 5.0 15 KB

Script to automatically create or update A/AAAA DNS records for a host

License: Apache License 2.0

Python 100.00%
python ddns ddns-updater ddns-script dyndns dyndns-updater ionos cron cronjob dynamic-dns

ionos-dyndns's Introduction

πŸ‘‹ Moin!

I'm LΓ‘zaro and I'm an IT nerd. I love working with IT infrastructure, automation and open-source software.

I'm an:

  • πŸ‘¨β€πŸŽ“ avid learner
  • ✈ aerospace enthusiast πŸš€
  • 🎧 music lover

Right now I'm working on automating my own home IT infrastructure with Ansible and tinkering with my homelab to find a setup that fits me.

Contact

You can get in touch with me via LinkedIn

Donations

You can choose to donate via GitHub Sponsors or Ko-fi.

Stats

ionos-dyndns's People

Contributors

lazaroblanc avatar mricim avatar rhigginsde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ionos-dyndns's Issues

specify path to python in cronjob string?

Hi I am new to github and not even a programmer - a tinkerer really. First off - thank you very much for writing this python script! But I haven't been able to get it to work! :( I don't what I am doing, but I think maybe the string has to first specify to execute the script using python3 and include the path to python3 as well, right?
Should it look something rather like this?

*/15 * * * * /usr/bin/python3 ./ionos_dyndns.py --AAAA --api-prefix my_prefix_string --api-secret my_secret_string

Error when running script with -6/--AAAA when no public IPv6 address is configured

Origin: Trying get the first capture group from a regex match agains an empty string (because no public IPv6 address is configured)
Solution: Check if public IPv6 is configured on system and only then try to match the regex and get the output from the capture group. Otherwise just return an empty string and log a message saying no IPv6 address was found

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.