mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: Some DNS zones are downloaded twice (#2120)
Signed-off-by: Amelia Aronsohn <squirrel@wearing.black> Co-authored-by: Tom Limoncelli <tal@whatexit.org> Co-authored-by: Grégoire Henry <hnrgrgr@users.noreply.github.com> Co-authored-by: Amelia Aronsohn <squirrel@wearing.black> Co-authored-by: Kai Schwarz <kschwarz@hexonet.net> Co-authored-by: Asif Nawaz <asif.nawaz@centralnic.com> Co-authored-by: imlonghao <git@imlonghao.com> Co-authored-by: Will Power <1619102+willpower232@users.noreply.github.com>
This commit is contained in:
@@ -66,10 +66,12 @@ And update `creds.json` accordingly:
|
||||
```json
|
||||
{
|
||||
"axfrddns-a": {
|
||||
"TYPE": "AXFRDDNS",
|
||||
"transfer-key": "hmac-sha256:transfer-key-id:Base64EncodedSecret=",
|
||||
"update-key": "hmac-sha256:update-key-id:AnotherSecret="
|
||||
},
|
||||
"axfrddns-b": {
|
||||
"TYPE": "AXFRDDNS",
|
||||
"transfer-key": "hmac-sha512:transfer-key-id-B:SmallSecret=",
|
||||
"update-key": "hmac-sha512:update-key-id-B:YetAnotherSecret="
|
||||
}
|
||||
@@ -132,6 +134,16 @@ the following error message:
|
||||
Please consider adding default `nameservers` or an explicit `master` in `creds.json`.
|
||||
```
|
||||
|
||||
### Buggy DNS servers regarding CNAME updates
|
||||
|
||||
When modifying a CNAME record, or when replacing an A record by a
|
||||
CNAME one in a single batched DDNS update, some DNS servers
|
||||
(e.g. Knot) will incorrectly reject the update. For this particular
|
||||
case, you might set the option `buggy-cname = "yes"` in `creds.json`.
|
||||
The changes will then be split in two DDNS updates, applied
|
||||
successively by the server. This will allow Knot to successfully apply
|
||||
the changes, but you will loose the atomic-update property.
|
||||
|
||||
|
||||
## Server configuration examples
|
||||
|
||||
|
Reference in New Issue
Block a user