You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,14 @@ Use Gandi LiveDNS API to update DNS records with a dynamic IP.
4
4
5
5
#### Prequisites
6
6
7
-
- Go to your Gandi account security page: https://account.gandi.net/en/users/USER/security (where USER is your username)
8
-
- Generate your API key, to be copied into your configuration file
7
+
- Generate a Gandi Personal Access Token (PAT) via either https://account.gandi.net/en/users/USER/security (where USER is your username), or Gandi Dashboard > Organizations > Manage > Create a token :
8
+
- Choose a mandatory duration (Gandi allows one year max)
9
+
- Give access at least to the resource `DNS configuration`
9
10
- Python 3.x
10
11
12
+
##### Note
13
+
14
+
I recommend creating a repeating alarm in a calendar to be sure to renew the PAT before it is revoked.
11
15
12
16
#### Installation
13
17
@@ -52,7 +56,7 @@ records = @,www
52
56
```
53
57
54
58
#### Running
55
-
_Note: `dyn_gandi` can be substituted with `python dyn_gandi.py` if the former does'nt work._
59
+
_Note: `dyn_gandi` can be substituted with `python dyn_gandi.py` if the former doesn't work._
0 commit comments