Closed fabienmazieres closed 3 weeks ago
ok, I think I figured it out.
I found the error message in function run()
in previewPush.go
, where we check if the zone is part of the list of zone from the provider.
Going to function ListZones()
in oracleProvider.go
, I added some debug to find out my list of zone was a lot shorter than expected, there was only 50 records instead of 80+ zone we have.
I added support for pagination in the code in #3179
ok, I think I figured it out. I found the error message in function
run()
inpreviewPush.go
, where we check if the zone is part of the list of zone from the provider. Going to functionListZones()
inoracleProvider.go
, I added some debug to find out my list of zone was a lot shorter than expected, there was only 50 records instead of 80+ zone we have.I added support for pagination in the code in #3179
Great detective work!
Describe the bug
Most zones I am currently working with trigger the following warning when doing
dnscontrol preview
:Warning message is not displayed when using
dnscontrol push
or if I add the option--no-populate
to the preview:To Reproduce
Unsure, I added some new zone to work with using
dnscontrol get-zones
and they all seem to trigger this message. An older zone does not have the issueExpected behavior
No Warning message displayed when zone already exists.
DNS Provider
Additional context
@tlimoncelli I am not sure where to start on this one, I would appreciate any help to understand the logic and flow behind this warning message