Update example and README.md -2

This commit is contained in:
Gitouche 2022-09-27 21:10:45 +02:00
parent fcf0b5f625
commit ced9406173

View file

@ -69,21 +69,6 @@ dnsentries = {
} }
``` ```
##### subdomains
All subdomains which should be updated. They get created if they do not yet exist.
* `subdomains` for ipv4
* `subdomains6` for ipv6
```
subdomains = ["subdomain1", "subdomain2", "subdomain3"]
subdomains6 = ["subdomain1v6", "subdomain2v6", "subdomain3v6"]
```
The first subdomain is used to find out the actual IP in the Zone Records.
If the returnded ip from is ipv6, it will use the first from subdomains6.
#### Run the script #### Run the script
And run the script: And run the script: