In this thread, @jelv suggested GRC's Benchmark [1]. There is also namebench [2], an older python tool. I personaly haven't used either one (yet). Definitely an opportunity for a new, portable tool!
[1] https://www.grc.com/dns/benchmark.htm
[2] https://github.com/catap/namebench