restructure config to allow user credentials to update multiple records
This commit separates user credentials from resource record configs to allow user credentials to be used for multiple records instead of one.
This commit is contained in:
parent
7f1500d53d
commit
451776bde0
4 changed files with 116 additions and 38 deletions
|
|
@ -1,9 +1,35 @@
|
|||
port = 5432
|
||||
port = 6000
|
||||
|
||||
[[user]]
|
||||
username= "some_user"
|
||||
password = "password1"
|
||||
records = [ "somerecord1.example.org", "somerecord1.example.com" ]
|
||||
|
||||
[[user]]
|
||||
username= "other_user"
|
||||
password = "password2"
|
||||
records = [ "somerecord2.example.org" ]
|
||||
|
||||
[[rrconfig]]
|
||||
username = "username"
|
||||
password = "password"
|
||||
nameserver = "ns1.example.org"
|
||||
zonename = "example.org"
|
||||
hostname = "somerecord.example.org"
|
||||
nameserver = "ns1.example.org"
|
||||
hostname = "somerecord1.example.org"
|
||||
tsig_algo = "some_algo"
|
||||
tsig_id = "some_id"
|
||||
tsig_key = "<tsig-key>"
|
||||
|
||||
[[rrconfig]]
|
||||
zonename = "example.org"
|
||||
nameserver = "ns1.example.com"
|
||||
hostname = "somerecord1.example.com"
|
||||
tsig_algo = "some_algo"
|
||||
tsig_id = "some_id"
|
||||
tsigkey = "<tsig-key>"
|
||||
|
||||
[[rrconfig]]
|
||||
zonename = "example.org"
|
||||
nameserver = "ns1.example.org"
|
||||
hostname = "somerecord2.example.org"
|
||||
tsig_algo = "some_algo"
|
||||
tsig_id = "some_id"
|
||||
tsigkey = "<tsig-key>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue