Zoltán Papp
a72e0e67e5
Optimize Windows DNS performance with domain batching and batch mode
Implement two-layer optimization to reduce Windows NRPT registry operations:
1. Domain Batching (host_windows.go):
- Batch up to 50 domains per NRPT rule (Windows undocumented limit)
- Reduces NRPT rules by ~97% (e.g., 184 domains: 184 rules → 4 rules)
- Modified addDNSMatchPolicy() to create batched NRPT entries
- Added comprehensive tests in host_windows_test.go
2. Batch Mode (server.go):
- Added BeginBatch/EndBatch methods to defer DNS updates
- Modified RegisterHandler/DeregisterHandler to skip applyHostConfig in batch mode
- Protected all applyHostConfig() calls with batch mode checks
- Updated route manager to wrap route operations with batch calls
2026-02-03 00:15:04 +01:00
..
2025-08-29 17:40:05 +02:00
2026-01-23 11:59:52 +01:00
2025-12-22 20:04:52 +01:00
2026-01-12 12:35:38 +01:00
2026-01-30 10:42:14 +01:00
2025-05-05 14:29:05 +02:00
2025-01-13 10:15:01 +01:00
2024-06-13 13:24:24 +02:00
2025-08-12 15:40:37 +02:00
2025-08-11 11:57:21 +02:00
2025-07-25 11:46:04 +02:00
2025-08-11 11:57:21 +02:00
2024-06-13 13:24:24 +02:00
2025-08-11 11:57:21 +02:00
2026-01-29 13:51:44 +01:00
2026-01-15 17:30:10 +01:00
2025-02-21 16:29:21 +01:00
2026-01-30 10:42:14 +01:00
2026-01-30 10:42:14 +01:00
2025-02-21 16:29:21 +01:00
2025-08-11 11:57:21 +02:00
2026-02-03 00:15:04 +01:00
2026-02-03 00:15:04 +01:00
2025-11-24 17:50:08 +01:00
2025-08-11 11:57:21 +02:00
2026-02-03 00:15:04 +01:00
2025-08-11 11:57:21 +02:00
2023-12-18 11:46:58 +01:00
2025-08-11 11:57:21 +02:00
2024-10-02 18:24:22 +02:00
2024-01-30 09:58:56 +01:00
2024-01-30 09:58:56 +01:00
2024-01-30 09:58:56 +01:00
2026-02-03 00:15:04 +01:00
2023-07-14 21:56:22 +02:00
2023-12-18 11:46:58 +01:00
2025-10-01 20:10:11 +02:00
2026-01-15 17:30:10 +01:00
2024-06-13 13:24:24 +02:00
2024-10-24 10:53:46 +02:00
2026-02-03 00:15:04 +01:00
2025-08-11 11:57:21 +02:00
2025-09-20 09:31:04 +02:00
2025-08-11 11:57:21 +02:00
2024-10-24 10:53:46 +02:00
2025-10-10 15:24:24 +02:00
2025-10-27 18:35:32 +01:00
2025-10-01 20:10:11 +02:00
2024-10-24 10:53:46 +02:00
2025-08-11 11:57:21 +02:00
2025-08-12 15:40:37 +02:00
2026-01-14 13:56:16 +01:00
2026-01-14 13:56:16 +01:00
2026-01-14 13:56:16 +01:00
2026-01-23 11:59:52 +01:00
2026-01-23 11:59:52 +01:00
2026-01-14 13:56:16 +01:00
2026-01-14 13:56:16 +01:00