[Bro-Dev] [JIRA] (BIT-1064) DNS Analyzer does not correctly log NXDOMAIN answers

Pietro Delsante (JIRA) jira at bro-tracker.atlassian.net
Thu Aug 22 08:08:31 PDT 2013

Pietro Delsante created BIT-1064:

             Summary: DNS Analyzer does not correctly log NXDOMAIN answers
                 Key: BIT-1064
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1064
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.1
         Environment: Bro 2.1 running on SecurityOnion 12.04-2
            Reporter: Pietro Delsante
         Attachments: nxdomain_pcap.png

Hi, I am running Bro 2.1 on Security Onion 12.04-2 updated to the latest available packages.

It looks like Bro's DNS analyzer is not assigning the correct rcode and rcode_name in the output log when the query is of type A and the server answers with a rcode=3 (NXDOMAIN): instead, it puts a dash "-" in both fields, like this:


that is, exploded:

ts:             1377179281.104465
uid:            prGZzGRr1M4
id:             192.168.X.Y|45406||53
proto:          udp
trans_id:       64928
query:          www.this-domain-does-not-exist.it
qclass:         1
qclass_name:    C_INTERNET
qtype:          1
qtype_name:     A
rcode:          -
rcode_name:     -
AA:             F
TC:             F
RD:             T
RA:             F
Z:              0
answers:        -
TTLs:           -

The only case in which I see those values set correctly (rcode: 3, rcode_name: NXDOMAIN) is when Bro is logging a PTR query:


The attachment is a screenshot from a wireshark capture of the DNS query showing that the server is actually answering with NXDOMAIN.

The only change I made to the default configuration was to enable the extraction of executable files from HTTP and SMTP fluxes, so this should have nothing to do with this issue.

Should you need any more info about my setup, please let me know.


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://bro-tracker.atlassian.net/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the bro-dev mailing list