Mock a DNS Server in Java

Gary Lu
The Startup
Published in
4 min readApr 26, 2020

--

This machine is a server! (London Science Museum, by Binary Koala)
  • Migrated to personal blog: link
  • Visit pacebits.com to check out recent projects I’m working on

I’ve been using the Java library dnsjava(org.xbill.DNS) a lot recently to make DNS queries. Since my work will rely on the behavior of that library, I figured I have to understand it better. One way to understand a library will be to read through all the code, but I prefer to write some tests to…

--

--

Gary Lu
The Startup

Senior Software Development Engineer in AWS. Personal blog: https://glucn.com