mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
上游服务器增加更多语法 #1692
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#1692
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kagura-Nanaa on GitHub (Jun 20, 2020).
[/example.local/]9.9.9.9希望这种语法可以支持通配符.或者域名中包含特定字符则指定特定的上游服务器.如/ab/1.1.1.1 域名中包含ab,则使用1.1.1.1作为上游服务器
@Potterli20 commented on GitHub (Jun 20, 2020):
有的
@Potterli20 commented on GitHub (Jun 20, 2020):
范例:
9.9.9.9 - 基于 UDP 协议的 DNS 服务器(DNS-over-UDP)
tls://dns.quad9.net – 基于 TLS 协议的 DNS 服务器(DNS-over-TLS)
https://dns.quad9.net/dns-query – 基于 HTTPS 协议的 DNS 服务器(DNS-over-HTTPS)
tcp://9.9.9.9 – 基于 TCP 协议的 DNS 服务器(DNS-over-TCP)
sdns://... – 基于 DNS Stamps 格式的 DNS 服务器(DNS-over-HTTPS 或 DNSCrypt)
[/example.local/]9.9.9.9 – 为特定域指定上游 DNS 服务器
@Kagura-Nanaa commented on GitHub (Jun 20, 2020):
又是你,还是不好好读题
如果你会中文 那么就好好读题
如果不会 那就等官方回答吧😓
@Potterli20 commented on GitHub (Jun 20, 2020):
如果是这样还不如,ad:8.8.8.8
这样够简洁了叭
还说什么,/ab/1.1.1 1
@Kagura-Nanaa commented on GitHub (Jun 20, 2020):
那现有语法中[/example.local/]9.9.9.9岂不是更麻烦?
不是简洁的问题
@Potterli20 commented on GitHub (Jun 20, 2020):
如果是麻烦,可以不用这个功能,默认就行
@Kagura-Nanaa commented on GitHub (Jun 20, 2020):
如果你没有懂我的意思,那么请不要再说了
@Potterli20 commented on GitHub (Jun 20, 2020):
你这是没有例子的项目乱说
@ameshkov commented on GitHub (Jun 21, 2020):
我不懂为什么这样的功能有用。请提供一些实际的例子。
@Potterli20 commented on GitHub (Jun 22, 2020):
#1680
@ameshkov commented on GitHub (Jun 22, 2020):
#1680 is a little bit different.
@Kagura-Nanaa 你可以看看 #1680 然后告诉我这是否适合吗?
@Kagura-Nanaa commented on GitHub (Jun 22, 2020):
一些网址使用指定的上游可能会解析过慢或者失败,需要手动为它们指定解析器,但是这些网址可能会有许多子域,一个一个添加会很麻烦,使用下图中的规则只能指定一个网址(?)

所以我想,他应该支持通配符,如[/*.example.local/]9.9.9.9
@Kagura-Nanaa commented on GitHub (Jun 22, 2020):
或者,像这样
和自定义过滤规则一样(?)

@Potterli20 commented on GitHub (Jun 23, 2020):
#1759
@ameshkov commented on GitHub (Jun 26, 2020):
@Kagura-Nanaa
[/example.org/]就是example.org+*.example.org一样@stale[bot] commented on GitHub (Aug 25, 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.