From b23fcf88ec01533a89b195a5c02a89a2ca18d964 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 21 Aug 2023 18:40:45 +0200 Subject: [PATCH] Add index --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 3ae9767..3ebca0a 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,18 @@ Simple, native and efficient **local ad blocker**. Bash script compatible with * demo +## Index + +- [Commands](#-commands) +- [Install or update](#-auto-update-of-domains-to-be-blocked) +- [Auto update of domains to be blocked](#-auto-update-of-domains-to-be-blocked) +- [Uninstall](#-uninstall) +- [Not blocking certain domains](#-not-blocking-certain-domains) +- [Add custom domains to block](#-add-custom-domains-to-block) +- [Alternative DNS list](#-alternative-dns-list) +- [DNSMASQ (or support sub-domains: wildcards)](#dnsmasq) + - [Create your own Pi-Hole](#-create-your-own-pi-hole-server-with-maza) + ## Help me continue to improve

@@ -128,6 +140,24 @@ Finally update Maza to apply the changes. maza update ``` +## 🎯 Add custom domains to block + +If you want to include your own domains to be blocked, you can add them to `~/.config/maza/custom-domains`. They must each be on one line, ignoring end slash or protocol (`http` or `https`). + +For example: + +``` txt +beauty-tea.com +www.expaqua.cloud +ad.about.com +``` + +Then update the database to regenerate the list to include your domains. + +``` +maza update +``` + ## 🔒 Alternative DNS list By default the Yoyo DNS list (Peter Lowe) is used. If you want to use another list, like Steven Black's for example, you must modify the variable in line 7.