diff --git a/pkg/types/configuration.go b/pkg/types/configuration.go index d4007e4c..cf56dc3e 100644 --- a/pkg/types/configuration.go +++ b/pkg/types/configuration.go @@ -79,5 +79,5 @@ type Zone struct { type Record struct { Name string `yaml:"name,omitempty"` IP net.IP `yaml:"ip,omitempty"` - Regexp *regexp.Regexp `yaml:"regexp,omitempty"` + Regexp *regexp.Regexp `json:",omitempty" yaml:"regexp,omitempty"` }