mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Always add ownership flatting records with lenient=True
This is intened to address cases where NS delegation ownership records are added to the parent zone when they technically should live in the delegated child. They're only used as ~metadata so this is fine, so long as the provider supports it.
This commit is contained in:
@@ -32,7 +32,9 @@ class OwnershipProcessor(BaseProcessor):
|
||||
name,
|
||||
{'type': 'TXT', 'ttl': 60, 'value': self.txt_value},
|
||||
)
|
||||
desired.add_record(txt)
|
||||
# add these w/lenient to cover the case when the ownership record
|
||||
# for a NS delegation record should technically live in the subzone
|
||||
desired.add_record(txt, lenient=True)
|
||||
|
||||
return desired
|
||||
|
||||
|
||||
Reference in New Issue
Block a user