Reputation: 21
i want to know if there is a way to generate dns queries via python and get the dns responses as well as their headers so as to see things in the dns response as NXDomain, connection refused, server failure etc..
thanks in advance
Upvotes: 2
Views: 2206
Reputation: 992717
Sure, there is a library called dnspython that does exactly that.
Upvotes: 6