DNS: change error loglevel for DOH for NXDOMAIN#4558
Closed
patterniha wants to merge 1 commit intoXTLS:mainfrom
patterniha:main
Closed
DNS: change error loglevel for DOH for NXDOMAIN#4558patterniha wants to merge 1 commit intoXTLS:mainfrom patterniha:main
patterniha wants to merge 1 commit intoXTLS:mainfrom
patterniha:main
Conversation
Collaborator
Author
|
Also, I think NXDOMAIN should be cache for 2 minutes to avoid consecutive requests which, in addition to the log, also has a negative impact on the network. @Meo597 I think this is yours. |
Member
|
还是 #3784
这不 买单的来了 如果不是Yuhan觉得应该修按我当时的判断就是直接关了 那个pr当初没加配置项是因为不想在配置文件堆垃圾 不过我想你们俩现在应该也都知道怎么加字段了 那就继续扩这没啥人用的字段就行了 我管不着了 |
RPRX
pushed a commit
that referenced
this pull request
Mar 29, 2025
RPRX
pushed a commit
that referenced
this pull request
Mar 29, 2025
Meo597
pushed a commit
to Meo597/Xray-Pro
that referenced
this pull request
May 4, 2025
Meo597
pushed a commit
to Meo597/Xray-Pro
that referenced
this pull request
May 4, 2025
it2konst
pushed a commit
to it2konst/gametunnel-core
that referenced
this pull request
Mar 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
dns-query-answer for some domains contains no ip, NXDOMAIN
in Xray-core when dns is DOH and and dns-query answer has no ip (NXDOMAIN), an error-log is created and printed:
2025/03/27 17:09:46.372277 [Error] app/dns: failed to retrieve response for jkasssahdjashdjh.com. > Post "https://free.shecan.ir/dns-query": context canceledthis log is only shown for DOH-dns, and we have no log for other types of dns.
///
some apps in android constantly asking for IP of an invalid domain(NXDOMAIN), this causes thousands of unnecessary logs in v2rayNG and slows down the app.
///
this is only a temporary solution.(and only for log)