mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Doc Zone.configured_sub_zones
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user