Coder Social home page Coder Social logo

ion-update_rs's Introduction

ION-Update (Rust)

ION-Update rewritten into Rust

Keeps IONOS DNS A Records up to date with your current public ip.

Overview

Docker Conatiner built to keep IONOS DNS records up-to-date. Works off of a list of DNS Zones, all within the same IONOS tenant. Current Public IP is automatically pulled from the internet. IP Address is updated on container boot, and every 4hrs after.

Recommended to validate the IONOS provided keys, prior to using them in the conatianer.

The purpose of this container is to allow you to utilize a dynamic Public IP, as a static IP. Keeping DNS records updated with the correct IP to get back to your lab.

Requirements

  • a Wildcard 'A' Record on the target DNS Zone
  • IONOS Developer Public and Private Key. Note: You must contact IONOS support to initally enable the feature. IONOS Docs.
  • a string of DNS Zones, seperated by a comma.

Docker Configuration

Example Docker Run

docker run -it \
    # Required
    -e SCOPE="domain1.com,domain2.com" \
    -e PUBKEY="<PublicKey>" \
    -e PRVKEY="<PrivateKey>" \
    # Optional Tag - Default: Info
    -e LOG_LEVEL="<info,debug>" \
    jimurrito/ionupdate_rs:latest

Links

FAQ

Q). Can I set Custom Public IP?

A). No. Currently IP Address is only pulled from public endpoints.

Q). How do I debug Error "[1x2] Failed to Deserialize json into struct" ?

A). This error is generic, and typically happens when authentication or authorization to IONOS has failed. Please rerun the container with the Enviromental Variable LOG_LEVEL="debug". Test the API manually in apps like Postman can show more information as well. If you get any response other then "HTTP 200", please contact IONOS.

Q). Can I keep a sub-domain or non-wildcard record updated?

A). No. The architecture utilizes one wildcard record per DNS Zone.

For any other questions, please dont hesitate to reach out to me, via the Issues tab on github.

ion-update_rs's People

Contributors

jimurrito avatar

Watchers

 avatar

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.