Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

DNS requests

Robin 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()
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?

Paul Johnston Oct 06, 2017 10:10AM UTC Support Center agent

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.

Robin Oct 06, 2017 11:50AM UTC
It works in CPython, I'll try to get my test script running with jython, not used that on the command line before.

Post Your public answer

Your name
Your email address