Claude Code has timeouts, when using AdguardHome
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] 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 a router, DHCP is handled by the router
AdGuard Home version
0.107.67
Action
Problem
When use claude code I get timeouts. It does not matter if I set @@||statsig.anthropic.com^$important.
In claude code I see this:
⎿ Request timed out.
Retrying in 14 seconds… (attempt 6/10)
Workarounds
- Switching to another DNS fixed the issue
Expected result
No timeouts.
Actual result
Claude Code is timing out.
Additional information and/or screenshots
No response
Which upstream DNS server do you use? How does the entry look in the query log?
Also with the cline