From 375664967fb2772cd5883f2d76fa622e073befb5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 1 Aug 2013 15:33:41 -0400 Subject: [PATCH] Add a man page section on parallel queries. --- doc/man1/haeredes.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/man1/haeredes.1 b/doc/man1/haeredes.1 index 2c8508e..569897e 100644 --- a/doc/man1/haeredes.1 +++ b/doc/man1/haeredes.1 @@ -59,7 +59,9 @@ b.iana-servers.net. a.iana-servers.net. .fi .P -However, if you ask a root server, they will return the response in another section, called \(dqauthority\(dq. The \(dqanswer\(dq section is empty: +However, if you ask a root server, they will return the response in +another section, called \(dqauthority\(dq. The \(dqanswer\(dq section +is empty: .nf .I $ dig +short @a.gtld-servers.net example.com NS @@ -79,6 +81,16 @@ resolver to check the data on the authoritative nameservers. .P So that's what we do. In NS mode, Haeredes will check both the \(dqanswer\(dq and \(dqauthority\(dq sections for results. +.SH PARALLEL QUERIES +.P +Haeredes can use multiple threads to perform its queries. It will use +a number of threads equal to the number of processors available to the +GHC runtime. This can be changed with the \fI+RTS \-N\fR flag. For +example, to use 10 threads, + +.nf +$ haeredes [OPTIONS] [DELEGATES] \fI+RTS -N10\fR +.fi .SH OPTIONS .IP \fB\-\-no\-append\-root\fR,\ \fB-n\fR -- 2.44.2