Good morning Ismailctest, I'm Juan from the Wazuh team, pleased to be able to help you.
There isn't a guide to collect the logs from the Windows DNS server. However, this shouldn't be a complex task for you to configure. You simply have to perform two steps on your AD controller.
First, enable DNS logging and store the logs in a specific location. As a second step, configure the <localfile> capability on your Wazuh agent installed on your AD controller to collect the DNS query logs and forward them to the Wazuh manager.
Follow this
localfile - Local configuration (ossec.conf) guide to configure log collection on your Wazuh agent.
I hope this can help you, regards.