-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates the gandip.py script so it uses the new LiveDNS gandi api. User must provide fully qualified domain name instead of zone name when running the program.
- Loading branch information
1 parent
961775c
commit 5a7a7fc
Showing
2 changed files
with
43 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# GandIP | ||
|
||
Keep you gandi DNS records up to date with your current ip. | ||
Keep your gandi DNS records up to date with your current ip. | ||
|
||
Please note that gandi is migrating to it's new version (v5) with their new | ||
LiveDNS api used by gandip latest version. In order to use gandip with older | ||
gandi api you must use version 1.x.x. | ||
|
||
## Installation | ||
|
||
Easy peasy, run `python setup.py install --user` and create a cron job so it runs every 15 minutes like so: | ||
Easy peasy, run `pip install --user gandip` and create a cron job so it runs every 15 minutes like so: | ||
|
||
``` | ||
*/15 * * * * gandip your_gandi_api_key zone_name record1 record2 ... recordN | ||
*/15 * * * * gandip your_gandi_api_key fqdn record1 record2 ... recordN | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters