Helping for scapy dns packet!

Hi guys.I am trying to write script which creates dns request packet using spoofed source ip adress.But scapy is waiting dns response packet.You know this packet’s response will not get back my computer because of source ip address was spoofed.

  • How can i stop scapy to not wait response ?

For example i execute below code then scapy waits dns response

answer = sr1(IP(src=“”,dst=‘’)/UDP(dport=53)/DNS(rd=1,qd=DNSQR(qname=“”,qtype=“NS”)), verbose=0)

(sorry for bad english :frowning: )

Use send() instead of sr1().


Thank you bro i didn’t realise that :slight_smile:

This topic was automatically closed after 30 days. New replies are no longer allowed.