Ability to specify upstream for Blocked services #1796

Closed
opened 2026-03-04 01:33:07 -05:00 by deekerman · 4 comments
Owner

Originally created by @Heshmatkhah on GitHub (Jul 24, 2020).

Problem Description

There is very strong censorship in Iran, Iran government do DNS poisoning in addition to IP filtering and blocking DNS over HTTPS Servers

So if you want to visit a site like youtube the answer will be 10.10.34.35 or something like that which is called Peyvandha .

Proposed Solution

What I want is the ability to specify upstream for Blocked services, so if the user specifies an upstream for them, and doesn't block them (through the Blocked services), the AdGuard uses that specific upstream for this services. So I can use a DNS over LTS for this upstream.

The problem with changing the whole upstreams is that in that case I will lose am ability to use many Iranian sites that are only resolvable over a normal DNS query within the country.

Also, It will be great if you add some other services like Telegram to Blocked services list

Originally created by @Heshmatkhah on GitHub (Jul 24, 2020). ### Problem Description There is very strong censorship in Iran, Iran government do DNS poisoning in addition to IP filtering and blocking **DNS over HTTPS Servers** So if you want to visit a site like `youtube` the answer will be `10.10.34.35` or something like that which is called [**Peyvandha** ](https://fa.wikipedia.org/wiki/%D8%B5%D9%81%D8%AD%D9%87_%D9%BE%DB%8C%D9%88%D9%86%D8%AF%D9%87%D8%A7). ### Proposed Solution What I want is the ability to specify upstream for `Blocked services`, so if the user specifies an upstream for them, and doesn't block them (through the Blocked services), the AdGuard uses that specific upstream for this services. So I can use a DNS over LTS for this upstream. The problem with changing the whole upstreams is that in that case I will lose am ability to use many Iranian sites that are only resolvable over a normal DNS query within the country. Also, It will be great if you add some other services like `Telegram` to Blocked services list
deekerman 2026-03-04 01:33:07 -05:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@Aikatsui commented on GitHub (Jul 25, 2020):

See https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#specifying-upstreams-for-domains

Also, It will be great if you add some other services like Telegram to Blocked services list

You can vote #1692 (adguard and community members may not prefer to see some services in this list)

@Aikatsui commented on GitHub (Jul 25, 2020): See https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#specifying-upstreams-for-domains >Also, It will be great if you add some other services like Telegram to Blocked services list You can vote #1692 (adguard and community members may not prefer to see some services in this list)
Author
Owner

@Heshmatkhah commented on GitHub (Jul 25, 2020):

Hi
Thanks for sharing #1692 with me.

While I was writing a response to you I found a list of domains for that services in the source code

my problem with Specifying upstreams for domains was that I don’t know the full list of domains.

Tanks a lot

@Heshmatkhah commented on GitHub (Jul 25, 2020): Hi Thanks for sharing #1692 with me. While I was writing a response to you I found a list of domains for that services in the source code my problem with [**Specifying upstreams for domains**](https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#specifying-upstreams-for-domains) was that I don’t know the full list of domains. Tanks a lot
Author
Owner

@Aikatsui commented on GitHub (Jul 26, 2020):

Unfortunately, blocked services component use for an opposite purpose.

my problem with Specifying upstreams for domains was that I don’t know the full list of domains.

First, add domains that you may know about certain service and open the site or app. after that check query log then you can be find rest of domains used by it otherwise search on forums, repositories or that company website.

However this is iran peyvandha issue. if you use government managed DNS service then it may not say about all domains to adguardhome because it's something like parental control so you have to try second method or use a vpn.

@Aikatsui commented on GitHub (Jul 26, 2020): Unfortunately, `blocked services` component use for an opposite purpose. >my problem with Specifying upstreams for domains was that I don’t know the full list of domains. First, add domains that you may know about certain service and open the site or app. after that check query log then you can be find rest of domains used by it otherwise search on forums, repositories or that company website. However this is iran peyvandha issue. if you use government managed DNS service then it may not say about all domains to adguardhome because it's something like parental control so you have to try second method or use a vpn.
Author
Owner

@stale[bot] commented on GitHub (Sep 24, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 24, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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/AdGuardHome#1796
No description provided.