alert dns $HOME_NET any -> any any (msg:"BAR"; dns.query; content:"suricata-ids.org"; sid:1337; rev:1;)
against the attached pcap or do the lookup `dig -t A suricata-ids.org` and listen on the interface you will trigger the correct alert but won't see any alert-debug.log output.
Subject changed from DNS Query triggers alert but no output in alert-debug.log to alert-debug: DNS Query triggers alert but no output in alert-debug.log