Doc Zone.configured_sub_zones

This commit is contained in:
Ross McFarland
2022-08-27 16:32:06 -07:00
parent 16e0bd0675
commit 3bd79627c3
+11
View File
@@ -338,6 +338,17 @@ class Manager(object):
return kwargs
def configured_sub_zones(self, zone_name):
'''
Accepts either UTF-8 or IDNA encoded zone name and returns the list of
any configured sub-zones in IDNA form. E.g. for the following
configured zones:
some.com.
other.some.com.
deep.thing.some.com.
It would return
other
deep.thing
'''
if self._configured_sub_zones is None:
# First time through we compute all the sub-zones