Closed tonydm closed 3 years ago
Nevermind, I found that it's my misunderstanding of the config options. After using some other scripts I found where the domain records are listed, I discovered that the "Name" is the subdomain of the domain. Once I discovered that the utility worked as expected. Thanks again
So for someone else using your script and finds themself confused by what the config options represent, the config would look like this:
{
"apikey": "<key_obfuscated>",
"doPageSize": 20,
"useIPv4": true,
"useIPv6": false,
"allowIPv4InIPv6": false,
"ipv4CheckUrl": "https://ipv4bot.whatismyipaddress.com",
"domains": [
{
"domain": "mydomain.com",
"records": [
{
"name": "subdomain1",
"type": "A"
},
{
"name": "subdomain2",
"type": "A"
},
]
}
]
}
Hello,
I have spun up a Docker container to test your service utility, it's exactly what I was looking for. When I run the command, it successfully reads the config file, but reports "0 of 1 records updated". The API key I'm using has Read/Write Scope. I'm not sure if I'm overlooking something in the config.
Thank you
TD