Python script that uses 'scapy' library to sniff DNS queries and responses. The script sniffs UDP datagrams on port 53 (source or destination).
Kali LXDE Linux
Install Scapy. Checkout this tutorial: https://scapy.readthedocs.io/en/latest/installation.html
Execute the script with super-user permissions. The script makes use of 'scapy' library which needs administration level.
Usage: sudo ./dnsSniffer.py
By am0nt031r0