Merge branch 'master' of https://github.com/LordOf20th/gandyndns
This commit is contained in:
commit
fbdea4d98c
1 changed files with 18 additions and 0 deletions
18
README.md
Normal file
18
README.md
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
# gandyndns
|
||||||
|
The purpose of this script is to change *on execution* the IP address of a Gandi.net DNS record (default is to change the DNS @.example.com A record)
|
||||||
|
and replacing the IP with the public IP of the machine on which the code is executed. The goal is to provide a dynamic change of DNS record like DynDNS, DuckDNS, etc for Gandi.net domains.
|
||||||
|
|
||||||
|
This script was inspired by matt1's gandi-ddns script : [matt1/gandi-ddns](https://github.com/matt1/gandi-ddns)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
The script was designed to be run using a cron task :
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo crontab -e
|
||||||
|
```
|
||||||
|
|
||||||
|
And then to execute *every 15 minutes* write in the crontab :
|
||||||
|
|
||||||
|
```
|
||||||
|
*/15 * * * * python /opt/services/scripts/gandyndns.py
|
||||||
|
```
|
||||||
Loading…
Add table
Reference in a new issue