Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
  • 34dbe9a8c42829c5f96aa91c8478d0040d9f095d
  • master default protected
  • fix_nzb_cat
  • develop
  • guessit2-minimal
  • ssl_warning
  • UHD-qualities
  • fix_providers8
  • !
  • tvvault
  • provider_alpharatio
  • v5.1.1
  • v5.1
  • v5.0.3
  • v5.0.2
  • v5.0.1
  • v5.0
  • v4.2.1.07
  • v4.2.1.06
  • v4.2.1.05
  • v4.2.1.04
  • v4.2.1.03
  • v4.2.1.02
  • v4.2.1.01
  • v4.2.1.0
  • v4.2.0.6
  • v4.2.0.5
  • v4.2.0.4
  • v4.2.0.3
  • v4.2.0.2
  • v4.2.0.1
31 results

SickRage-1

  • Clone with SSH
  • Clone with HTTPS
  • Python script to update DNS A record of your domain dynamically using gandi.net LiveDNS API:

    http://doc.livedns.gandi.net/

    The script was developed for those behind a dynamic IP interface (e.g. home server/pi/nas).

    The config-template.txt file should be renamed to config.txt, and modified with your gandi.net API key, domain name, and A-record (@, dev, home, pi, etc).

    Every time the script runs, it will query an external service to retrieve the external IP of the machine, compare it to the current A record in the zone at gandi.net, and then update the record if the IP has changed.

    Requirements:

    pip install -r requirements.txt

    You can then run the script as a cron job :

    */15 * * * * python /home/user/gandi_ddns.py

    macOS

    cd gandi-ddns
    ln -s $(pwd) /usr/local/gandi-ddns
    sudo cp gandi.ddns.plist /Library/LaunchDaemons/
    sudo launchctl /Library/LaunchDaemons/gandi.ddns.plist