Description:
As part of the DNS transport refactoring, introduce a NameServer implementation, a template-based class designed to handle DNS queries over datagram-oriented transports (UDP).
It provides the necessary infrastructure to integrate DNS listening capabilities into the Reactor event loop.
Acceptance Criteria
- The server must automatically register its file descriptor with the Reactor.
- The server must correctly serialize and deserialize DnsPacket structures using the DnsMessage codec.
- GTest should include successful end-to-end communication between Dns::Resolver and the a mocked NameServer.
- All GTest cases in DnsTest must pass
Description:
As part of the DNS transport refactoring, introduce a NameServer implementation, a template-based class designed to handle DNS queries over datagram-oriented transports (UDP).
It provides the necessary infrastructure to integrate DNS listening capabilities into the Reactor event loop.
Acceptance Criteria