dnslogger (cargo): Passive dns sniffer. Provides dnslogger binary and a dns parser library. 
Keywords: pcap|dns|ip|ipv4