Language/Japanese
This tool is an extension of PortSwigger product, Burp Suite. Supports Burp suite Professional/Community.
This extension is a tool that provides a DNS spoofing server.
The main repository (main) may contain code under development. Please download the stable release version from the following.
Please use the following versions
- Burp suite v2024.2.1.3 or above
The Burp Suite Extension can be loaded by following the steps below.
- Click [add] on the [Extensions] tab
- Click [Select file ...] and select FakeDnsServerExtension.jar
- Click [Next], confirm that no error is occurring, and close the dialog with [Close].
FakeDnsServerExtension tab will be added to Burp Suite.
- [Start] Button:
- Press this button to start DNS spoofing. Press it again to stop.
- Bind Intarface:
- Specify the bind interface.
- Fake IP:
- Specify the IP(IPv4 and IPv6) address to spoof
- Name servers:
- Specify the name server
- (ex) 8.8.8.8,8.8.8.4
- [resolv burp hosts] Check box:
- If you enable this setting, hostname resolution will be based on the hosts configuration in Burp Suite. By default, this setting is enabled.
- [resolv system hosts] Check box:
- If you enable this setting, hostname resolution will be based on the OS hosts file. By default, this setting is enabled.
- Fake domains:
- Specify the domain to spoof.
- [Paste domains] Button:
- Add domains from the clipboard, separated by commas or line breaks.
- [Add All] Button:
- Add multiple domain names.
- [Add] Button:
- Add a domain.
- [Edit] Button:
- Edit the selected domain.
- [Remove] Button:
- Remove the selected domain.
- [Remove] Button:
- Remove all domains.
- [Extensions] -> [Output]:
- Outputs status messages, including DNS resolution logs.
- [Extensions] -> [Error]:
- Outputs error message, including logs of exceptions.
There is a CLI mode that can be launched from the command line.
java -jar FakeDnsServerExtension.jar -h
Usage: java -jar FakeDnsServerExtension.jar [option] [-i, --interface <interface>] [--fakeip <fakeip>] [--fakeipv6 <fakeip>] [--fakedomains <FakeDomains>] [--nameservers <NameServers>] [-p, --port <dnPport>]
[option]
-h, --help - help show
-v, --version - version show
-gui - GUI Mode
[command]
-i, --interface <interface> - Specify the interface IP address.
--fakeip <fakeip> - Specify the IPv4 address to spoof
--fakeipv6 <fakeip> - Specify the IPv6 address to spoof
--fakedomains <FakeDomains> - Specify the domain to spoof
--nameservers <NameServers> - Specify the name server
--p, -port <dnsPort> - Specify the DNS port
--disable-system-hosts - Disable DNS name resolution using the system hosts file
[command (ex)]
java -jar FakeDnsServerExtension.jar -i 192.168.137.1 --fakeip 192.168.137.1 --fakedomains www.example.com,www.example.jp
In command-line mode, resolv burp hosts is always disabled.
There is a standalone GUI mode that does not require Burp Suite.
java -jar FakeDnsServerExtension.jar -gui
gradlew release
.Java
- JRE (JDK) 21 (Open JDK is recommended) (https://openjdk.java.net/)
.Burp suite
- v2024.2.1.3 or higher (http://www.portswigger.net/burp/)
- NetBean 30 (https://netbeans.apache.org/)
- Gradle 9.6.1 (https://gradle.org/)
Building requires a BurpExtensionCommons library.
- BurpExtensionCommons v3.2.17 or higher
-
google gson (https://github.com/google/gson)
- Apache License 2.0
- https://github.com/google/gson/blob/master/LICENSE
-
Universal Chardet for java (https://code.google.com/archive/p/juniversalchardet/)
-
dnsjava(https://github.com/dnsjava/dnsjava)
- BSD-3-Clause license
- https://github.com/dnsjava/dnsjava/blob/master/LICENSE
Operation is confirmed with the following versions.
- Burp suite v2026.3.3
This tool developed by my own personal use, PortSwigger company is not related at all. Please do not ask PortSwigger about problems, etc. caused by using this tool.
