diff --git a/lists/public-dns-v4/list.json b/lists/public-dns-v4/list.json index e41e97d..651aef4 100644 --- a/lists/public-dns-v4/list.json +++ b/lists/public-dns-v4/list.json @@ -96085,11 +96085,11 @@ "zz2013433001d30fccb2.userreverse.dion.ne.jp.", "zz2014403768d2c78302.userreverse.dion.ne.jp." ], - "matching_attribute": [ + "matching_attributes": [ "ip-src", "ip-dst", "domain|ip" ], "name": "List of known IPv4 public DNS resolvers", "version": "20160803" -} \ No newline at end of file +} diff --git a/lists/public-dns-v6/list.json b/lists/public-dns-v6/list.json index 9e560f5..9ff5763 100644 --- a/lists/public-dns-v6/list.json +++ b/lists/public-dns-v6/list.json @@ -174,11 +174,11 @@ "yardbird.cns.ipv6.vt.edu.", "zen.stack.nl." ], - "matching_attribute": [ + "matching_attributes": [ "ip-src", "ip-dst", "domain|ip" ], "name": "List of known IPv6 public DNS resolvers", "version": "20160803" -} \ No newline at end of file +} diff --git a/tools/generate-publicdns.py b/tools/generate-publicdns.py index e4c6d17..51d6f48 100755 --- a/tools/generate-publicdns.py +++ b/tools/generate-publicdns.py @@ -49,7 +49,7 @@ out4_list = {} out4_list['name'] = 'List of known IPv4 public DNS resolvers' out4_list['version'] = version out4_list['description'] = 'Event contains one or more public IPv4 DNS resolvers as attribute with an IDS flag set' -out4_list['matching_attribute'] = [ 'ip-src', 'ip-dst', 'domain|ip' ] +out4_list['matching_attributes'] = [ 'ip-src', 'ip-dst', 'domain|ip' ] out4_list['list'] = sorted(ip4_list) @@ -57,7 +57,7 @@ out6_list = {} out6_list['name'] = 'List of known IPv6 public DNS resolvers' out6_list['version'] = version out6_list['description'] = 'Event contains one or more public IPv6 DNS resolvers as attribute with an IDS flag set' -out6_list['matching_attribute'] = [ 'ip-src', 'ip-dst', 'domain|ip' ] +out6_list['matching_attributes'] = [ 'ip-src', 'ip-dst', 'domain|ip' ] out6_list['list'] = sorted(ip6_list)