package nsupdate type NsUpdateStruct struct { Key KeyStruct `json:"key" yaml:"key"` Server string `json:"server" yaml:"server"` Port int `json:"port" yaml:"port"` Zone string `json:"zone" yaml:"zone"` } type KeyStruct struct { Label string `json:"key-label" yaml:"key-label"` Algorithm string `json:"algorithm" yaml:"algorithm"` Secret string `json:"secret" yaml:"secret"` }