Allow response records from other sections
DNS queries for delegation records to poorly constructed zones won't have answers, but they will have authority. Also, +nosearch
This commit is contained in:
@@ -51,6 +51,12 @@ Puppet::Type.newtype(:dns_rr) do
|
||||
defaultto 'localhost'
|
||||
end
|
||||
|
||||
newparam(:query_section) do
|
||||
desc 'The DNS response section to check for existing record values'
|
||||
defaultto 'answer'
|
||||
newvalues 'answer', 'authority', 'additional'
|
||||
end
|
||||
|
||||
newparam(:keyname) do
|
||||
desc 'Keyname for the TSIG key used to update the record'
|
||||
defaultto 'update'
|
||||
|
||||
@@ -37,6 +37,12 @@ Puppet::Type.newtype(:resource_record) do
|
||||
defaultto 'localhost'
|
||||
end
|
||||
|
||||
newparam(:query_section) do
|
||||
desc 'The DNS response section to check for existing record values'
|
||||
defaultto 'answer'
|
||||
newvalues 'answer', 'authority', 'additional'
|
||||
end
|
||||
|
||||
newparam(:keyname) do
|
||||
desc 'Keyname for the TSIG key used to update the record'
|
||||
defaultto 'update'
|
||||
|
||||
Reference in New Issue
Block a user