Merge pull request #14 from hlqviet/upstream

Use `Domain` selector instead of `Host` to block subdomains
This commit is contained in:
mrrfv
2023-09-04 16:58:27 +02:00
committed by GitHub
+1 -1
View File
@@ -30,7 +30,7 @@ async function getZeroTrustLists() {
// Build the wirefilter expression
for (const list of filtered_lists) {
wirefilter_expression += `dns.fqdn in \$${list.id} or `;
wirefilter_expression += `any(dns.domains[*] in \$${list.id}) or `;
}
// Remove the trailing ' or '
if (wirefilter_expression.endsWith(' or ')) {