Connecting IP addresses in PCAPs to the initial query name through A records or SRV records
Scapy is weird about dissecting and storing DNS packets, especially DNS responses. This script demonstrates an efficient way to iterate through different parts of it.