Development

This commit is contained in:
Matthew Grotke 2026-06-09 11:43:22 -04:00
parent e2e05010bb
commit 3b2fa07ac9

View file

@ -694,8 +694,10 @@ def apply_dnsmasq_instances(data, dry_run=False, start_if_needed=True):
if not dry_run: if not dry_run:
shared.DNSMASQ_CONF_DIR.mkdir(exist_ok=True) shared.DNSMASQ_CONF_DIR.mkdir(exist_ok=True)
disable_system_dnsmasq(data) disable_system_dnsmasq(data)
general = data.get("dns_blocking", {}).get("general", {})
setup_blocklist_logging(general)
print() print()
print("Updating blocklist hosts files ======================================") logging.info("Updating blocklist hosts files ======================================")
update_blocklist_hosts(data) update_blocklist_hosts(data)
print() print()
disable_system_dnsmasq(data) disable_system_dnsmasq(data)