feat(server): emit query events with questions, answered status, response time and timestamp

This commit is contained in:
2026-02-20 15:18:30 +00:00
parent ca36d3be0a
commit 4581a6a1e0
3 changed files with 31 additions and 3 deletions
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## 2026-02-20 - 7.9.0 - feat(server)
emit query events with questions, answered status, response time and timestamp
- Added IDnsQueryCompletedEvent interface with questions, answered, responseTimeMs and timestamp fields
- DnsServer now extends EventEmitter and calls super() in constructor
- DnsServer emits a 'query' event on incoming dnsQuery from Rust bridge, providing answers and timing
- Imported IIpcDnsQuestion and used TypeScript 'satisfies' for the emitted event object
## 2026-02-12 - 7.8.1 - fix(server)
Require Rust bridge for DNS packet processing; remove synchronous TypeScript fallback; change handler API to accept IDnsQuestion and adjust query API