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

Ban NO_PURGE when using BIND and others. (#180)

This commit is contained in:
Tom Limoncelli
2017-08-11 12:43:06 -07:00
committed by Craig Peterson
parent 73962470bc
commit 2534c8eaf2
4 changed files with 13 additions and 1 deletions

View File

@@ -49,6 +49,11 @@ const (
CanUseSRV
// CanUseCAA indicates the provider can handle CAA records
CanUseCAA
// CantUseNOPURGE indicates NO_PURGE is broken for this provider. To make it
// work would require complex emulation of an incremental update mechanism,
// so it is easier to simply mark this feature as not working for this
// provider.
CantUseNOPURGE
)
func ProviderHasCabability(pType string, cap Capability) bool {