mirror of
https://github.com/coredns/coredns.git
synced 2026-05-28 04:40:25 -04:00
Add RWMutex to protect concurrent map access in Set, Unset, and ForEach methods. Change New() to return *U pointer type for proper synchronization. Signed-off-by: Cangming H <cangmingh@gmail.com>