This project is based on several well-known and trusted ad-blocking rule sources. It aggregates and deduplicates these sources to generate a hosts-formatted domain blocklist that is compatible with the MikroTik RouterOS DNS Adlist module.The ad domain blocklist is automatically updated every 4 hours, making it ideal for RouterOS users who require system-wide ad blocking without the need for additional plugins.
The domain sources are selected with a focus on mainland China, and usage outside of this region is not recommended.
- 🔄 Automatic Updates: The blocklist is refreshed every 4 hours via GitHub Actions.
- 🧹 Smart Filtering & Deduplication: Automatically removes duplicates, invalid entries, regular expressions, wildcards, IP addresses, and non-domain formats.
- ⚙️ High Compatibility: Output is fully compatible with the RouterOS DNS Adlist module.
- 🌍 Trusted Sources: Aggregates from reputable public rule providers including AdGuard, Cats-Team, Loyalsoldier, and more.
- 🇨🇳 China-Optimized: All source lists are carefully selected for effectiveness within mainland China.
- Log in to your RouterOS device using Winbox
- Navigate to
IP>DNS>Adlist - Click the “+” button to add a new entry
- Paste the following URL into the URL field (make sure it's on a single line):
https://raw.githubusercontent.com/noobsora/RouterOS-AdList/refs/heads/main/ros-adlist.txt
- Uncheck the
SSL Verifyoption - Click Apply to save and activate the rule
/ip dns adlist add url="https://raw.githubusercontent.com/noobsora/RouterOS-AdList/refs/heads/main/ros-adlist.txt" ssl-verify=noThis project uses GitHub Actions to automatically fetch source rules every 4 hours, generate a new ros-adlist.txt file, and commit the latest version.
Cats-Team-AdRules
AdGuard-Dns-Filter
AdGuard-DNS-Popup-Hosts-filter
AWAvenue-Ads-Rule
217heidai-AdblockHostsLite
Contributions of new source recommendations and Issue submissions are welcome!
This project is open-source and for educational use only, with no commercial intent.
All domain sources are public community-maintained lists. This project simply aggregates and formats them.
Using this list may block access to certain sites; evaluate before applying in production.
The author is not liable for any damages caused by use of this project.
This project is licensed under the MIT License.