Render empty forwarders for forward zones
A forward zone with no forwarders now renders "forwarders { };", which
BIND accepts and treats as disabling forwarding for the zone.
This commit is contained in:
@@ -103,7 +103,7 @@ type BindZoneSpec struct {
|
||||
// +optional
|
||||
DNSSECPolicyRef string `json:"dnssecPolicyRef,omitempty"`
|
||||
|
||||
// Forwarders lists upstreams for a forward-type zone.
|
||||
// Forwarders lists upstreams for a forward-type zone; an empty list disables forwarding for the zone.
|
||||
// +optional
|
||||
Forwarders []string `json:"forwarders,omitempty"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user