mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Cleanup SRV testing
* Integration tests: PTR tests should only happen if CanUsePTR * Integration tests: SRE tests should only happen if CanUseSRV * CanUseSRV should be validated early (in pkg/normalize/validate.go) * CLOUDFLARE does not support SRV. Check for this during validation * GCLOUD CanUsesRV (mostly by accident, but whatever works)
This commit is contained in:
@@ -356,6 +356,7 @@ func checkProviderCapabilities(dc *models.DomainConfig, pList []*models.DNSProvi
|
||||
}{
|
||||
{"ALIAS", providers.CanUseAlias},
|
||||
{"PTR", providers.CanUsePTR},
|
||||
{"SRV", providers.CanUseSRV},
|
||||
}
|
||||
for _, ty := range types {
|
||||
hasAny := false
|
||||
|
Reference in New Issue
Block a user