Browse Source
prepend zone_name with . to ensure it matches on address boundary
pull/984/head
Jeff Engleman
3 years ago
No known key found for this signature in database
GPG Key ID: 7C9E47BD662AD840
1 changed files with
1 additions and
1 deletions
-
octodns/processor/arpa.py
|
|
|
@ -48,7 +48,7 @@ class AutoArpa(BaseProcessor): |
|
|
|
zone_name = zone.name |
|
|
|
n = len(zone_name) + 1 |
|
|
|
for arpa, fqdns in self._records.items(): |
|
|
|
if arpa.endswith(zone_name): |
|
|
|
if arpa.endswith(f'.{zone_name}'): |
|
|
|
name = arpa[:-n] |
|
|
|
fqdns = sorted(fqdns) |
|
|
|
record = Record.new( |
|
|
|
|