[PR #3035] [MERGED] support host format in blocklist store #3510

Closed
opened 2026-03-16 11:47:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3035
Author: @mispp
Created: 6/7/2025
Status: Merged
Merged: 6/12/2025
Merged by: @djc

Base: mainHead: main


📝 Commits (3)

  • 46a28c4 support host format in blocklist store
  • 305783a add tests for hosts format blocklist
  • ca51c7c cleanup hosts structure parser

📊 Changes

2 files changed (+94 additions, -8 deletions)

View changed files

📝 crates/server/src/store/blocklist.rs (+91 -8)
tests/test-data/test_configs/default/blocklist3.txt (+3 -0)

📄 Description

most of the blocklists online used for adblocking are in host file format. this commit adds ability to parse adblock files delivered in that format.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/3035 **Author:** [@mispp](https://github.com/mispp) **Created:** 6/7/2025 **Status:** ✅ Merged **Merged:** 6/12/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`46a28c4`](https://github.com/hickory-dns/hickory-dns/commit/46a28c4b0dd90f5b53b95bbf0c3db9684b3112ab) support host format in blocklist store - [`305783a`](https://github.com/hickory-dns/hickory-dns/commit/305783a65bf20d093cede8a8d51fedeee97004a6) add tests for hosts format blocklist - [`ca51c7c`](https://github.com/hickory-dns/hickory-dns/commit/ca51c7cc3a7eac1edc20027e71729a017bc0528c) cleanup hosts structure parser ### 📊 Changes **2 files changed** (+94 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `crates/server/src/store/blocklist.rs` (+91 -8) ➕ `tests/test-data/test_configs/default/blocklist3.txt` (+3 -0) </details> ### 📄 Description most of the blocklists online used for adblocking are in host file format. this commit adds ability to parse adblock files delivered in that format. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:47:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3510
No description provided.