From 3eb4ce3c433f020b8a8a209994f581628169212c Mon Sep 17 00:00:00 2001 From: LordOf20th Date: Mon, 14 Mar 2022 18:41:43 +0100 Subject: [PATCH 1/3] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..27c2da7 --- /dev/null +++ b/README.md @@ -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 of execution. 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 +``` From e5448485859fff4760f1403810cf1ccd5fd4fd37 Mon Sep 17 00:00:00 2001 From: LordOf20th Date: Mon, 14 Mar 2022 18:42:20 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27c2da7..648265b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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 of execution. The goal is to provide a dynamic change of DNS record like DynDNS, DuckDNS, etc for Gandi.net domains. +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) From 58469e282c1da8992b3faecdc5a0840dd9933e17 Mon Sep 17 00:00:00 2001 From: LordOf20th Date: Mon, 14 Mar 2022 18:51:22 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 648265b..c0debb7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ 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 : +And then to execute *every 15 minutes* write in the crontab : ``` */15 * * * * python /opt/services/scripts/gandyndns.py