mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 10:10:12 +00:00
It is not always desirable to use a TSIG key for interacting with DNS backends. This PR makes use of a TSIG key optional. A new `tsig-usage` configuration parameter is added for DNS backends to allow one to determine how/if TSIG keys are applied. Note: due to the nature of the configuration, the user must still specify SOME value for the key information; however, the new `tsig-usage` config parameter can choose when or if to apply it. The values are: - `always` - always use the - `never` - never use the tsig key for either update OR transfers - `transfer` - use the tsig key for TRANSFER only, updates will not use any keys - `update` - use the tsig key for UPDATES only, transfers will not use any keys **Note: this does not yet apply to the UI or the API, changes there will be a future PR**