Help scripting dns lookup using awk

RW rwmaillists at googlemail.com
Fri Sep 15 13:30:26 UTC 2017


On Thu, 14 Sep 2017 20:55:00 -0400
Ernie Luzar wrote:

> The following sh script works, but runs very slow.

Almost certainly the reason it's slow is that you are doing sequential
synchronous lookups. Switching  to another language isn't going help
much. To speed it up you either need to switch to a language with a
DNS library that supports asynchronous lookups or fire-off parallel
child processes. The latter is easier.






More information about the freebsd-questions mailing list