Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility
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