minor tweaks for multi-line nsupdate
This commit is contained in:
@@ -32,10 +32,12 @@ type Config struct {
|
||||
RefreshSeconds int `default:"14400" env:"refresh_seconds"`
|
||||
|
||||
// nsupdate
|
||||
NSUKey string `env:"nsupdate-key" secret:"true"`
|
||||
NSUPort int `default:"53" env:"nsupdate-port"`
|
||||
NSUServer string `default:"ns1.example.com" env:"nsupdate-server"`
|
||||
NSUZone string `default:"example.com" env:"nsupdate-zone"`
|
||||
NSUKeyLabel string `env:"nsupdate-key-label"`
|
||||
NSUKey string `env:"nsupdate-key" secret:"true"`
|
||||
NSUKeyAlgorithm string `default:"hmac-sha512" env:"nsupdate-key-algorithm"`
|
||||
NSUPort int `default:"53" env:"nsupdate-port"`
|
||||
NSUServer string `default:"ns1.example.com" env:"nsupdate-server"`
|
||||
NSUZone string `default:"example.com" env:"nsupdate-zone"`
|
||||
}
|
||||
|
||||
// New initializes the config variable for use with a prepared set of defaults.
|
||||
|
Reference in New Issue
Block a user