From 5e3ff0d3a6bb8602d3b946d7bf5ed6d9632112af Mon Sep 17 00:00:00 2001 From: cave Date: Mon, 19 Mar 2018 20:38:32 +0100 Subject: [PATCH] remove beta remove beta from api endpoint --- src/gandi-live-dns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gandi-live-dns.py b/src/gandi-live-dns.py index c5ad256..55e5757 100755 --- a/src/gandi-live-dns.py +++ b/src/gandi-live-dns.py @@ -9,7 +9,7 @@ https://www.gnu.org/licenses/gpl-3.0.html Created on 13 Aug 2017 http://doc.livedns.gandi.net/ -http://doc.livedns.gandi.net/#api-endpoint -> https://dns.beta.gandi.net/api/v5/ +http://doc.livedns.gandi.net/#api-endpoint -> https://dns.gandi.net/api/v5/ ''' import requests, json @@ -71,7 +71,7 @@ def update_records(uuid, dynIP, subdomain): -H 'X-Api-Key: XXX' \ -d '{"rrset_ttl": 10800, "rrset_values": [""]}' \ - https://dns.beta.gandi.net/api/v5/zones//records// + https://dns.gandi.net/api/v5/zones//records// ''' url = config.api_endpoint+ '/zones/' + uuid + '/records/' + subdomain + '/A' payload = {"rrset_ttl": config.ttl, "rrset_values": [dynIP]} @@ -127,4 +127,4 @@ if __name__ == "__main__": - \ No newline at end of file +