1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

GANDI_V5: Temporarily disable ListDomains (#1962)

This commit is contained in:
Tom Limoncelli
2023-01-21 17:22:26 -05:00
committed by GitHub
parent 178ec45254
commit a1b24a2e82
2 changed files with 26 additions and 17 deletions

View File

@ -148,6 +148,9 @@ DomainLoop:
return err
}
if !slices.Contains(zones, domain.Name) {
out.Warnf("DEBUG: zones: %v\n", zones)
out.Warnf("DEBUG: Name: %v\n", domain.Name)
out.Warnf("Domain '%s' does not exist in the '%s' profile and will be added automatically.\n", domain.Name, provider.Name)
continue // continue with next provider, as we can not determine corrections without an existing zone
}