Browse Source

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.
pull/1013/head
Ross McFarland 3 years ago
parent
commit
2a99bd922f
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      octodns/processor/ownership.py

+ 3
- 1
octodns/processor/ownership.py View File

@ -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


Loading…
Cancel
Save