https://github.com/arfshl/adblock-dns-config
uBlock Origin, AdGuard Home/DNS, NextDNS Configuration Guide
https://github.com/arfshl/adblock-dns-config
adblock adguard adguardhome ads ahadns blocklists brave controld dns hosts iot nextdns parental-control privacy rethinkdns security telemetry tracking ublock ublock-origin
Last synced: 5 months ago
JSON representation
uBlock Origin, AdGuard Home/DNS, NextDNS Configuration Guide
- Host: GitHub
- URL: https://github.com/arfshl/adblock-dns-config
- Owner: arfshl
- License: gpl-3.0
- Created: 2025-04-23T03:43:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-18T12:31:29.000Z (5 months ago)
- Last Synced: 2026-01-18T19:18:32.665Z (5 months ago)
- Topics: adblock, adguard, adguardhome, ads, ahadns, blocklists, brave, controld, dns, hosts, iot, nextdns, parental-control, privacy, rethinkdns, security, telemetry, tracking, ublock, ublock-origin
- Homepage:
- Size: 340 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adblock and DNS Services Configuration
## Table of Contents
- [AdGuard Home or AdGuard for Android DNS Filtering](https://github.com/arfshl/adblock-dns-config/tree/main#adguard-home-or-adguard-for-android-dns-filtering)
- [AdGuard Home Parental Control](https://github.com/arfshl/adblock-dns-config/tree/main#parental-control)
- [uBlock Origin | Brave Browser | AdGuard for Android Recommended Filter](https://github.com/arfshl/adblock-dns-config/tree/main#ublock-origin--brave-browser--adguard-for-android)
- [uBlock Origin Lite](https://github.com/arfshl/adblock-dns-config/tree/main#ublock-origin-lite-chrome-edge-opera-vivaldi-and-other-chromium-based-browsers)
- [Recommended Tampermonkey Userscirpt](https://github.com/arfshl/adblock-dns-config/tree/main#recommended-tampermonkey-userscripts)
- [Android/iOS Secure DNS/Linux systemd-resolved](https://github.com/arfshl/adblock-dns-config/blob/main/docs/android-resolvers.md)
- [Parental Control DNS Services](https://github.com/arfshl/adblock-dns-config/blob/main/docs/parental-resolver.md)
- [NextDNS Configuration](https://github.com/arfshl/adblock-dns-config/blob/main/docs/nextdns.md)
- [AdGuard Private DNS](https://github.com/arfshl/adblock-dns-config/blob/main/docs/adguarddns.md)
- [RethinkDNS Configuration](https://github.com/arfshl/adblock-dns-config/blob/main/docs/rethinkdns.md)
- [dnswarden Configuration](https://github.com/arfshl/adblock-dns-config/blob/main/docs/dnswarden.md)
- [ControlD Free Configuration](https://github.com/arfshl/adblock-dns-config/blob/main/docs/controld-free.md)
- [AhaDNS Configuration](https://github.com/arfshl/adblock-dns-config/blob/main/docs/ahadns.md)
- [AdGuard Home/AdGuard for Android DNS Upstream](https://github.com/arfshl/adblock-dns-config/blob/main/docs/dns-resolvers.md)
## AdGuard Home or AdGuard for Android DNS Filtering
- [HaGeZi Pro](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt)
- [HaGeZi Threat Intelligence Feeds](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/tif.txt)
- [Abused TLDs - for local phishing](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/spam-tlds.txt)
- (Windows only) [WindowsSpyBlocker Update - For disabling windows update, but blocks access to microsoft store](https://github.com/crazy-max/WindowsSpyBlocker/raw/master/data/dnscrypt/update.txt)
#### AdGuard Home Parental Control
- You Can Block/Unblock Services at Blocked Services menu, and set schedule for pause blocking
- [HaGeZi Gambling](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/gambling.txt)
- [ABPindo Adult](https://raw.githubusercontent.com/ABPindo/indonesianadblockrules/master/subscriptions/aghome_adult.txt)
- [adblock-dns-config anti-gambling (Experimental)](https://github.com/arfshl/adblock-dns-config/raw/main/my-filter/antijudol.txt)
- [HaGeZi NSFW](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/nsfw.txt)
- [Safesearch Enforcing](https://github.com/AdguardTeam/HostlistsRegistry/raw/refs/heads/main/assets/engines_safe_search.txt)
- [YouTube Strict Mode](https://raw.githubusercontent.com/AdguardTeam/HostlistsRegistry/refs/heads/main/assets/youtube_safe_search.txt)
- [HaGeZi Safesearch Not Supported](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/nosafesearch.txt)
- [HaGeZi Piracy](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/anti.piracy.txt)
- [ShadowWhisperer's Dating List](https://raw.githubusercontent.com/ShadowWhisperer/BlockLists/master/Lists/Dating)
- [NextDNS Gaming](https://github.com/arfshl/nextdns-blocklists/raw/latest/subscriptions/gaming.txt)
- [NextDNS Social Networks](https://github.com/arfshl/nextdns-blocklists/raw/latest/subscriptions/social-networks.txt)
- [NextDNS Video Streaming](https://raw.githubusercontent.com/arfshl/nextdns-blocklists/latest/subscriptions/video-streaming.txt)
## uBlock Origin | Brave Browser | AdGuard for Android
- Enable Aggressive Mode for Brave browser
- Keep Default List, Enable Easylist Social, Easylist Annoyances / Fanboy Annoyances, uBlock Annoyances (uBlock Origin only)
- Make sure ABPindo is enabled (For indonesian region)
- [HaGeZi Threat Intelligence Feeds (Unnecesary if you already use this on DNS-level)](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/tif.txt)
- [Abused TLDs - for local phishing (Unnecesary if you already use this on DNS-level)](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/spam-tlds-ublock.txt)
- [AdBlockID (for Indonesian region)](https://cdn.jsdelivr.net/gh/realodix/AdBlockID@master/dist/adblockid.adfl.txt)
- [ABPindo Annoyance (remove annoying elements like pop-up and widgets, for Indonesian region)](https://github.com/ABPindo/indonesianadblockrules/raw/master/subscriptions/abpindo_annoyance.txt)
- [🚪 Browse websites without logging in](https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/BrowseWebsitesWithoutLoggingIn.txt)
## uBlock Origin Lite [(Chrome, Edge, Opera, Vivaldi, and other Chromium-based browsers)](https://chromewebstore.google.com/detail/ublock-origin-lite/ddkjiahejlhfcafbddmgiahcphecmpfh?hl=en)
#### Settings
- Default filtering mode: Complete
- Enable strict blocking: ON
#### Filter Lists
- Annoyances: Enable ALL
- Miscellaneous: Enable AdGuard URL Tracking Protection
- Regions, Languages: Depends on your region and language sites (ABPindo for Indonesian Languages)
## Recommended [Tampermonkey](https://www.tampermonkey.net/) Userscript
Removing more annoying elements from the websites
[DisableAMP](https://userscripts.adtidy.org/release/disable-amp/1.0/disable-amp.user.js) - This is a very simple userscript that disables AMP pages on the Google search results page. Open Google search results on a mobile phone, click on the link marked as AMP. This link should be opened without AMP.
[AutoAllPages (Indonesian Only)](https://raw.githubusercontent.com/reforget-id/AutoAllPage/main/script/autoallpage.user.js) - Otomatis menampilkan semua halaman artikel berita dalam 1 halaman.
#### I also shared my personal configuration files, notes that this only optimized for my own devices, only use this for references
- [AdGuard for Android](https://github.com/arfshl/adblock-dns-config/archive/refs/heads/adguard-android.zip)
- [Private AdGuard DNS](https://github.com/arfshl/adblock-dns-config/raw/main/res/adguarddnsconfig.txt)
- [uBlock Origin](https://github.com/arfshl/adblock-dns-config/raw/main/res/ublock0config.txt)
- [AdGuard Home for Windows](https://github.com/arfshl/adblock-dns-config/raw/main/res/aghome-win.yaml)
- [AdGuard Home for Linux](https://github.com/arfshl/adblock-dns-config/raw/main/res/aghome-linux.yaml)
- [arfshl/filterlist](https://github.com/arfshl/filterlist): My Personal Filter