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:
@@ -41,6 +41,7 @@ type Capability uint32
|
||||
|
||||
const (
|
||||
// CanUseAlias indicates the provider support ALIAS records (or flattened CNAMES). Up to the provider to translate them to the appropriate record type.
|
||||
// If you add something to this list, you probably want to add it to pkg/normalize/validate.go checkProviderCapabilities() or somewhere near there.
|
||||
CanUseAlias Capability = 1 << iota
|
||||
// CanUsePTR indicates the provider can handle PTR records
|
||||
CanUsePTR
|
||||
|
Reference in New Issue
Block a user