-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server returned 500 error when SafeSearch enabled #5913
Comments
Thanks for the report and the logs. It seems that despite the misleading We'll try to fix this soon, and in the meantime this DNS rewrite rule should be able to alleviate the situation: ||yandex.ru^$dnstype=AAAA,dnsrewrite=NOERROR |
@ammnt, please try out version |
Yeah. No error anymore. Thanks👍🏼 |
@ainar-g, but I have the same error for DuckDuckGo and Bing. Please check all SafeSearch hosts and add general fix for them too🤔 |
Updates #5913. Squashed commit of the following: commit 6bff5ee Merge: 0a6f490 2902f03 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Jun 20 14:14:47 2023 +0300 Merge branch 'master' into 5913-fix-safesearch-ipv6-better commit 0a6f490 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Jun 20 14:11:18 2023 +0300 safesearch: imp tests commit 3f9056d Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Jun 19 23:01:03 2023 +0300 safesearch: fix ipv6 more
@ammnt, you're correct. The more recent versions on the Edge channel should fix that as well. |
It works better now. Thanks again!👍🏼 |
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux/AMD64 (aka x86_64)
Installation
Docker
Setup
On one machine
AdGuard Home version
0.107.32
Action
2023-06-17T21:01:50.106542764Z ;; QUESTION SECTION:
2023-06-17T21:01:50.106545359Z ;yandex.ru. IN AAAA
2023-06-17T21:01:50.106547904Z
2023-06-17T21:01:50.106550689Z 2023/06/18 00:01:50.106088 6#104 [debug] applying filters: looking for client with ip 46.242.15.214 and clientid "9569d98d"
2023-06-17T21:01:50.106553525Z 2023/06/18 00:01:50.106133 6#104 [debug] applying filters: using settings for client "MacBook" (46.242.15.214; "9569d98d")
2023-06-17T21:01:50.106556250Z 2023/06/18 00:01:50.106255 6#104 [debug] safesearch default: lookup for "yandex.ru" finished in 9.668µs
2023-06-17T21:01:50.106575686Z 2023/06/18 00:01:50.106366 6#104 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).ServeHTTP(): error handling DNS (https) request: talking to dns upstream: checking host "yandex.ru": safe search: no ipv4 addresses for "yandex.ru"
2023-06-17T21:01:50.447766770Z 2023/06/18 00:01:50.446818 6#106 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).ServeHTTP(): Incoming HTTPS request on /dns-query/9569d98d
2023-06-17T21:01:50.447810512Z 2023/06/18 00:01:50.446910 6#106 [debug] github.com/AdguardTeam/dnsproxy/proxy.remoteAddr(): Using IP address from HTTP request: 2001:ac8:16:3::2
2023-06-17T21:01:50.447829287Z 2023/06/18 00:01:50.446971 6#106 [debug] request came from proxy server 172.16.0.3:48712
2023-06-17T21:01:50.447833686Z 2023/06/18 00:01:50.447054 6#106 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).logDNSMessage(): IN: ;; opcode: QUERY, status: NOERROR, id: 0
2023-06-17T21:01:50.447836992Z ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
Expected result
No HTTP and resolving errors when safesearch enabled :)
Actual result
Resolving and HTTP errors
Additional information and/or screenshots
The text was updated successfully, but these errors were encountered: