Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Jan 12 06:43:01 CET 2012 on sn-devel-104
if rec.data == data:
found = True
elif record_type == dnsp.DNS_TYPE_PTR:
- if rec.data.str.rstrip('.') == data.rstrip('.'):
+ if rec.data.str.rstrip('.').lower() == data.rstrip('.').lower():
found = True
elif record_type == dnsp.DNS_TYPE_CNAME:
- if rec.data.str.rstrip('.') == data.rstrip('.'):
+ if rec.data.str.rstrip('.').lower() == data.rstrip('.').lower():
found = True
elif record_type == dnsp.DNS_TYPE_NS:
- if rec.data.str.rstrip('.') == data.rstrip('.'):
+ if rec.data.str.rstrip('.').lower() == data.rstrip('.').lower():
found = True
if found:
rec_match = rec