This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 197
Adding a KB article 'How to add your own filter' #527
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
06.ios/05.solving-problems/08.how-to-add-your-own-filter/docs.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: 'How to add your own DNS filter' | ||
taxonomy: | ||
category: | ||
- docs | ||
|
||
--- | ||
|
||
If you want to block ads or tracking outside of Safari on iOS, you will have to opt for DNS blocking. Most commonly, you need to use a blocking DNS server (for example, [AdGuard DNS](https://adguard.com/en/adguard-dns/overview.html)), but there is another way in AdGuard apps for iOS: you can add your own DNS filter or hosts file. | ||
|
||
This method has several advantages: | ||
1) You can use any DNS server at your discretion and you are not tied up to a specific blocking server. | ||
2) You can add multiple DNS filters and/or hosts files at the same time, but you can't use multiple DNS servers at once. | ||
|
||
To add your own DNS filter* in the AdGuard app for iOS or AdGuard Pro, follow these steps: | ||
|
||
**⠀Don't confuse it with adding a custom filter to Safari.* | ||
|
||
1. Open AdGuard Pro Settings —> General —> Enable *Advanced mode*. | ||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/advanced_mode_en.jpg" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
2. Go to DNS protection —> DNS filtering —> DNS filters —> Press *Add filter*. | ||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/Pro/dns_filters.png" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
Let's illustrate how to add your own DNS filter by an example of our [AdGuard DNS filter](https://kb.adguard.com/en/general/adguard-ad-filters#domains). | ||
|
||
> DNS filter is composed from several other filters (English filter, Social media filter, Spyware filter, Mobile ads filter, EasyList and EasyPrivacy) and simplified to be better compatible with DNS-level ad blocking. | ||
|
||
3. Paste this link: [https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt](https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt) to add AdGuard DNS filter (or use a link to any other filter you want to add). | ||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/Pro/new_dns_filter.png" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
That's it! You've successfully added a custom filter! |
33 changes: 33 additions & 0 deletions
33
06.ios/05.solving-problems/08.how-to-add-your-own-filter/docs.ru.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: 'Как добавить собственный DNS-фильтр' | ||
taxonomy: | ||
category: | ||
- docs | ||
|
||
--- | ||
|
||
Если вы хотите блокировать рекламу или трекинг за пределами браузера Safari на iOS, вам придётся прибегнуть к DNS-блокировке. Как правило, для этого необходимо использовать блокирующий DNS-сервер (например, [AdGuard DNS](https://adguard.com/ru/adguard-dns/overview.html)), но в приложениях AdGuard для iOS есть и другой способ: можно добавить свой DNS-фильтр или hosts-файл. | ||
|
||
У этого метода есть несколько преимуществ: | ||
1) Вы можете использовать любой DNS-сервер на своё усмотрение и не привязаны к конкретному блокирующему серверу. | ||
2) Вы можете добавить сразу несколько DNS-фильтров и/или файлов hosts одновременно, но не можете использовать сразу несколько DNS-серверов. | ||
|
||
Чтобы добавить собственный DNS-фильтр* в приложении AdGuard для iOS или AdGuard Pro, выполните следующие шаги: | ||
|
||
**⠀Не путайте с добавлением своего фильтра в Safari.* | ||
|
||
1. Открыть Настройки AdGuard Pro —> Общие —> Включить Режим разработчика. | ||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/advanced_mode_ru.jpg" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
2. Перейти в DNS-защиту —> Фильтрацию DNS-запросов —> DNS-фильтры —> Нажать «Добавить фильтр». | ||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/Pro/dns_filters_ru.png" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
Для примера возьмём наш [DNS-фильтр](https://kb.adguard.com/ru/general/adguard-ad-filters#domains). | ||
|
||
> DNS-фильтр составлен из нескольких фильтров (Английский фильтр, Фильтр социальных сетей, Фильтр счётчиков и систем аналитики, Фильтр мобильной рекламы, EasyList и EasyPrivacy) и упрощён для лучшей совместимости с блокировкой рекламы на уровне DNS. | ||
|
||
<img src="https://cdn.adguard.com/public/Adguard/Release_notes/iOS/v4.0/Pro/new_dns_filter_ru.png" style="border: 1px solid #efefef; max-height: 700px; max-width: 350px; padding: 2px;"> | ||
|
||
3. Вставить эту ссылку: [https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt](https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt) (или используйте ссылку для любого другого фильтра, который вам нужен). | ||
|
||
Вот и всё! Вы успешно добавили свой фильтр. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тут вроде как не про серверы говориться а плюсы использования фильтров
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну так о том и речь. Если ты хочешь блочить что-то, то включаешь, например, AdGuard DNS. А так добавил наш фильтр и юзай клаудфляр на здоровье.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
по написанному в первом непонятно что речь об этом