Closed adyakin closed 2 weeks ago
name: iphone-andrey ids: - 192.168.1.25 - 192.168.2.148 tags: [] use_global_settings: true ignore_querylog: false
This is not a client with a ClientID of iphone-andrey
, this is a client with a name of iphone-andrey
. You need to add iphone-andrey
as a ClientID either through the web interface or by adding it to the list of IDs.
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, ARM64
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.53
Action
I want to use client id in DoH query string (/dns-query/client-id) but query log most of the time shows "new" client with PTR for cellular ip instead of configured persistent client. But there is also some requests which have correct client id.
Expected result
Query log should always show saved client id
Actual result
Most of the time query log don't show client id:
but for some requests it works correctly:
Additional information and/or screenshots
there is configured persistent client iphone-andrey:
doh.mobileconfig iOS profile server url contains client id:
As I see from Adguard log it captures client id but failed? to map it to persistent clients:
Here 111.111.111.111 is cellular provider address. In query log I see all requests to /dns-query/iphone-andrey as "new" clients with PTR name, not my saved client name.
however in querylog.json I see correct client id:
log for request: