AdguardTeam / AdguardTeam/AdGuardHome
Include Client name in query log
- 主要言語
- TypeScript
- スター
- 36.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Prerequisites
- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer
- [X] I have searched other issues and found no duplicates
- [X] I want to request a feature or enhancement and not ask a question
### Description
#### What problem are you trying to solve?
Right now, An entry in `querylog.json` looks like this,
> {"T":"2023-01-01T08:51:28.503193134+05:30","QH":"pbs.twimg.com","QT":"A","QC":"IN","CP":"","Answer":"FeiBgAABAAIAAAAAA3BCUwV0V0lNZwNDT20AAAEAAcAMAAUAAQAAAF0AKAlkdWFsc3RhY2sFdHdpbWcHdHdpdHRlcgNtYXAGZmFzdGx5A25ldADAKwABAAEAAAB4AATH6BSf","Result":{},"Upstream":"tls://dns.google:853","IP":"10.0.150.14","Elapsed":20684398}
This entry only includes client IP address and it does not include client name resolved from hosts/arp/rdns/dhcp and this makes it difficult to go back and find the device which sent a request in the past.
#### Proposed solution
My proposal here is to to add a `client_name` field in `querylog.json` and include the resolved value(resolved with arp/dhcp/rdns/hosts) in the record.
#### Alternatives considered
#### Additional information
コントリビューションガイド
評価
この issue はまだ評価されていません。