minor tweaks for multi-line nsupdate

This commit is contained in:
2024-01-15 15:02:37 -06:00
parent a4430227e3
commit c1739856ce
5 changed files with 97 additions and 16 deletions

View File

@@ -1,13 +1,14 @@
package nsupdate
type NsUpdateStruct struct {
Key KeyStruct `json:"key" yaml:"key"`
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"`
Secret string `json:"secret" yaml:"secret"`
}