The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

DNS requests

Robin | Last updated: Oct 06, 2017 09:44AM UTC

I'm using the following Python to try to make DNS requests from my extension: import dns.resolver ... myResolver = dns.resolver.Resolver() try: myResolver.query(domain, "MX") except dns.exception.Timeout: self._printError("Timeout while requesting MX record") This works fine on the command line but times out every time from in my extension. Is there an obvious reason for this or do I need to do more debugging?

PortSwigger Agent | Last updated: Oct 06, 2017 09:59AM UTC

Hi Robin, Just to be clear - does it work ok in command line Jython? CPython and Jython are not identical. You'll need to get it working in Jython first, before trying within Burp. Please let us know if you need any further assistance.

Burp User | Last updated: Oct 06, 2017 11:50AM UTC