Implement auto parental-agents (checkds yes)
Implement the new feature, automatic parental-agents. This is enabled with 'checkds yes'. When set to 'yes', instead of querying the explicit configured parental agents, look up the parental agents by resolving the parent NS records. The found parent NS RRset is considered to be the list of parental agents that should be queried during a KSK rollover, looking up the DS RRset corresponding to the key signing keys. For each NS record, look up the addresses in the ADB. These addresses will be used to send the DS requests. Count the number of servers and keep track of how many good DS responses were seen.
This commit is contained in:
@@ -346,7 +346,8 @@ def checkds_dspublished(named_port, checkds):
|
||||
"zone incomplete.{}.dspublish.ns2-4-5/IN (signed): checkds: "
|
||||
"empty DS response from 10.53.0.5".format(checkds),
|
||||
)
|
||||
keystate_check(parent, "incomplete.{}.dspublish.ns2-4-5.".format(checkds), "!DSPublish")
|
||||
keystate_check(
|
||||
parent, "incomplete.{}.dspublish.ns2-4-5.".format(checkds), "!DSPublish")
|
||||
|
||||
#
|
||||
# 1.2.3: One parental agent is badly configured.
|
||||
@@ -413,7 +414,8 @@ def checkds_dswithdrawn(named_port, checkds):
|
||||
"zone still-there.{}.dsremoved.ns2/IN (signed): checkds: "
|
||||
"DS response from 10.53.0.2".format(checkds),
|
||||
)
|
||||
keystate_check(parent, "still-there.{}.dsremoved.ns2.".format(checkds), "!DSRemoved")
|
||||
keystate_check(
|
||||
parent, "still-there.{}.dsremoved.ns2.".format(checkds), "!DSRemoved")
|
||||
|
||||
#
|
||||
# 2.1.3: The parental agent is badly configured.
|
||||
@@ -476,7 +478,8 @@ def checkds_dswithdrawn(named_port, checkds):
|
||||
"zone incomplete.{}.dsremoved.ns2-5-7/IN (signed): checkds: "
|
||||
"empty DS response from 10.53.0.7".format(checkds),
|
||||
)
|
||||
keystate_check(parent, "incomplete.{}.dsremoved.ns2-5-7.".format(checkds), "!DSRemoved")
|
||||
keystate_check(
|
||||
parent, "incomplete.{}.dsremoved.ns2-5-7.".format(checkds), "!DSRemoved")
|
||||
|
||||
#
|
||||
# 2.2.3: One parental agent is badly configured.
|
||||
|
||||
Reference in New Issue
Block a user