From 4c59d19c1c52373a711104d6c51c952be0169f0c Mon Sep 17 00:00:00 2001 From: Mehdi Raza Date: Thu, 18 Jul 2024 09:39:46 +0500 Subject: [PATCH] Update sfp_dns_for_family.py DNS for Family has changed how blocked domains are responded. Previously DNS for Family responded with their own A record: 159.69.10.249 but now they respond with A record: 0.0.0.0 which is consistent with how other DNS servers like Cloudflare Family works --- modules/sfp_dns_for_family.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sfp_dns_for_family.py b/modules/sfp_dns_for_family.py index e613791a89..3913fae4d9 100644 --- a/modules/sfp_dns_for_family.py +++ b/modules/sfp_dns_for_family.py @@ -108,7 +108,7 @@ def handleEvent(self, event): for result in res: k = str(result) - if k != '159.69.10.249': + if k != '0.0.0.0': continue self.debug(f"{eventData} blocked by DNS for Family")