mirror of
https://github.com/coredns/coredns.git
synced 2025-11-25 21:24:03 -05: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>