mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
prepend zone_name with . to ensure it matches on address boundary
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user