Decorative site banner
Project icon

com.io7m.flail

  • About
  • Releases
  • Manual
  • Sources
  • License
  • Issues
Maven Central Version Maven Snapshot Code Coverage

flail


The flail package provides a command-line DNS server stress testing tool. The tool is a paper-thin wrapper around the excellent DNSJava library.

Features


  • Command line tool for executing large numbers of requests against a DNS server.
  • ISC license.

Usage


Place a list of hostnames, one per line, in a file called names.txt.

$ cat names.txt debian.org example.com freebsd.org www.debian.org www.example.com www.freebsd.org

Assuming the DNS server under test is at dns.example.com on port 53:

java -jar flail.jar names.txt dns.example.com 53

The program will make random requests for A records for all the names in names.txt as quickly as possible. The program will produce lines such as:

17:22:52.483 [main] INFO com.io7m.flail.FlailMain -- requests: 280/280/0 (total/successes/failures) 17:22:52.544 [main] INFO com.io7m.flail.FlailMain -- requests: 290/290/0 (total/successes/failures) 17:22:52.604 [main] INFO com.io7m.flail.FlailMain -- requests: 300/300/0 (total/successes/failures) 17:22:52.663 [main] INFO com.io7m.flail.FlailMain -- requests: 310/310/0 (total/successes/failures) 17:22:52.724 [main] INFO com.io7m.flail.FlailMain -- requests: 320/320/0 (total/successes/failures) 17:22:52.784 [main] INFO com.io7m.flail.FlailMain -- requests: 330/330/0 (total/successes/failures) 17:22:52.844 [main] INFO com.io7m.flail.FlailMain -- requests: 340/340/0 (total/successes/failures) 17:22:52.905 [main] INFO com.io7m.flail.FlailMain -- requests: 350/350/0 (total/successes/failures)

The program will run indefinitely until it is interrupted.

Releases & Development Snapshots


Releases


You can subscribe to the atom feed to be notified of project releases.

The most recently released version of the package is 1.0.0.

1.0.0 Release (2024-06-23Z)

  • Initial release.

The compiled artifacts for the release (and all previous releases) are available on Maven Central.

Development Snapshots


At the time of writing, the current unstable development version of the package is 1.0.1-SNAPSHOT.

Development snapshots may be available in the Central Portal Snapshots repository. Snapshots are published to this repository every time the project is built by the project's continuous integration system, but snapshots do expire after around ninety days and so may or may not be available depending on when a build of the package was last triggered.

Manual


This project does not have any user manuals or other documentation beyond what might be present on the page above.

Sources


This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/flail

$ git clone --recursive https://www.github.com/io7m-com/flail

Issues


This project uses GitHub Issues to track issues.

License


Copyright © 2023 Mark Raynsford <code@io7m.com> https://www.io7m.com Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Last Updated 2025-08-09T12:39:16Z