src: add trace points to dns
Add trace points to dns under node.dns category. Emit trace events for dns operations. Use the nestable async events instead of deprecated ones. Include test code to verify the trace log.
Refs: https://github.com/nodejs/node/pull/19157
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes - [x ] tests and/or benchmarks are included
- [x ] commit message follows commit guidelines