mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Compare DNS names case insensitively.
This commit is contained in:
parent
1f93a052d6
commit
a0caaf7f42
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ def main():
|
|||
decoded_name = rset.name.replace(r'\052', '*')
|
||||
decoded_name = decoded_name.replace(r'\100', '@')
|
||||
|
||||
if rset.type == type_in and decoded_name == record_in:
|
||||
if rset.type == type_in and decoded_name.lower() == record_in.lower():
|
||||
found_record = True
|
||||
record['zone'] = zone_in
|
||||
record['type'] = rset.type
|
||||
|
|
Loading…
Reference in a new issue