Hi,
Wazuh does not have a built-in DNS lookup tool. You could pre-process your logs with a DNS lookup tool before forwarding them to Wazuh.
You can create a custom Python or Bash script that performs DNS lookups and adds the resolved domain names to your logs. The script should run periodically or as part of the log collection process to ensure that all IP addresses are resolved before they are forwarded to Wazuh.
If you are using Suricata it can be configured on it, for more detailed information on Suricata's DNS logging capabilities, you can refer to the official Suricata documentation
link.Hope this helps you. Please feel free to reach out to us if you have any issues.