Lightning is a very fast Java DNS server built on Netty's asynchronous / non-blocking socket server framework.
- Lightweight and fast
- Only dependency is Netty
- Can be embedded into any Java application
- Allows for custom resolution handlers to be implemented
import lightning.DnServer;
...
DnsServer dns = new DnsServer().start();
...
dns.stop();