Skip to content

yalp/gandyn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Overview

A dynamic IP updater for Gandi.

It simply polls a public ip API and updates the Gandi DNS records using the Gandi RPC APIs.

Install

With the go tools:

$ go get github.com/yalp/gandyn
$ go install github.com/yalp/gandyn

Usage

Some infos are required to use gandyn:

  • the API key from the admin interface
  • the zone ID of the domain to update
  • the name of the record to update (like "www" or "blog")

The record must already exist on the active version of the zone before gandyn can update it.

Just launch it at startup as a service on startup, or using cron :

@reboot /path/to/gandyn -apikey "XXX" -zone 6666 -record "www"

Once started, gandyn will keep running indefinetly until stopped.

Options

  • -apikey, -zone, -record are mandatory (see above)
  • -refresh defines the delay for polling the pulic IP address
  • -test to use the test OT&E platform instead of production platform

About

Dynamic IP updater for Gandi DNS service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages