Update example and README.md
This commit is contained in:
parent
b70621b018
commit
fcf0b5f625
16
README.md
16
README.md
|
@ -54,8 +54,20 @@ http://doc.livedns.gandi.net/#api-endpoint
|
|||
api_endpoint = 'https://dns.api.gandi.net/api/v5'
|
||||
```
|
||||
|
||||
##### domain
|
||||
Your domain for the subdomains to be updated
|
||||
##### dnsentries
|
||||
Your domains and subdomains (IPv4 and IPv6) to update
|
||||
|
||||
```
|
||||
dnsentries = {
|
||||
"mydomain.tld": {
|
||||
"ipv4": ["subdomain1", "subdomain2"],
|
||||
"ipv6": ["subdomain3v6"],
|
||||
},
|
||||
"myotherdomain.tld": {
|
||||
"ipv4": ["subdomain4"],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
##### subdomains
|
||||
|
|
|
@ -20,9 +20,6 @@ https://dns.api.gandi.net/api/v5/
|
|||
'''
|
||||
api_endpoint = 'https://dns.api.gandi.net/api/v5'
|
||||
|
||||
#your domain with the subdomains in the zone file/UUID
|
||||
domain = 'mydomain.tld'
|
||||
|
||||
#enter all subdomains to be updated, subdomains must already exist to be updated
|
||||
#your domain and subdomains to be updated, subdomains must already exist to be updated
|
||||
dnsentries = {
|
||||
|
|
Loading…
Reference in a new issue