JDRESOLVE(1)
β¨ JDRESOLVE(1) β¨
okay bestie, welcome to the JDRESOLVE(1) page, straight outta the User Contributed Perl Documentation section π
this is the whole vibe, no skips, no cuts.
NAME π
jdresolve β resolves IP addresses into hostnames. that's it, that's the girl π
SYNOPSIS β¨
short-flag mode:
jdresolve [-h] [-v] [-n] [-r] [-a] [-d <level>] [-m <mask>] [-l <line cache>] [-t <timeout>] [-p] [-s <number of sockets>] [--database=<db path>] <LOG FILE>
long-flag mode (same energy, more letters):
jdresolve [--help] [--version] [--nostats] [--recursive] [--anywhere] [--debug=<level>] [--mask=<mask>] [--linecache=<line cache>] [--timeout=<timeout>] [--sockets=<number of sockets>] [--database=<db path>] [--dbfirst] [--dbonly] [--dumpdb] [--mergedb] [--expiredb=<hours>] [--unresolved] [--progress] <LOG FILE>
DESCRIPTION π¦
so jdresolve resolves IP addresses to hostnames. literally any file format is supported, even the messy ones where the line does not start with the IP address β she's not picky, she's versatile πββοΈ
one of the strongest features of the program is support for recursion, which can drastically reduce the number of unresolved hosts by faking a hostname based on the network that the IP belongs to. iconic behavior honestly.
DNS queries are sent in parallel, which means you can decrease run time by increasing the number of simultaneous sockets used β given a fast enough machine and available bandwidth, of course, we're not magicians π§
and by using the database support, performance can be increased even further, by using cached data from previous runs. it's giving "she remembers everything" π
OPTIONS π
-h,--helpβ produces a short help message π«Ά-v,--versionβ display version information β-n,--nostatsβ don't display stats after processing π-r,--recursiveβ recurse into C, B and A classes when there is no PTR (default is no recursion) π-d,--debug=<debug-level>β debug mode: no file output, just statistics during the run (verbosity level range:1-3) π-t,--timeout=<seconds>β timeout in seconds for each host resolution (default is30seconds) β°-l,--linecache=<lines>β numbers of lines to cache in memory (default is10000) π§-s,--sockets=<sockets>β maximum number of concurrent sockets. useulimit -ato check the max allowed for your operating system β defaults to64π-m,--mask=<mask>β<mask>accepts%ifor IP and%cfor class owner, e.g."somewhere.in.%c"or"%i.in.%c"(default is"%i.%c") π-a,--anywhereβ resolves IPs found anywhere on a line (will resolve all IPs if there is more than one) π-p,--progressβ prints a nice progress bar indicating the status of the resolve operations π--database=<db path>β path to database that holds resolved hosts/classes πΎ--dbfirstβ check if we have resolved entries in the database before sending out DNS queries π₯--dbonlyβ don't send DNS queries, use only resolved data in the database π«--dumpdbβ dumps a database to STDOUT π€--mergedbβ merges resolved IP/classes from a file (or STDIN) with a database π§¬--expiredb=<hours>β expires entries in the database that are older than<hours>hours ποΈ--unresolvedβ won't attempt to resolve IPs, only lists those that were not resolved π<LOG FILE>β the log filename, or-for STDIN π
EXAMPLES π
jdresolve access_log > resolved_log
jdresolve -r -s 128 access_log > resolved_log
jdresolve -r --database hosts.db access_log > res_log
SEE ALSO π«Ά
rhost(1) β go say hi bestie
AUTHOR π
jdresolve was written by John D. Rowell <me@jdrowell.com>, and is licensed under the terms of the GNU General Public License.
The original version of this man page was written by Craig Sanders <cas@taz.net.au>, for the Debian GNU/Linux package of jdresolve, and is also licensed under the terms of the GNU GPL.
fr fr, that's the whole page β every flag, every default, every path, all of it. no cap. π
and that's a wrap babes β¨ this one came to you from the 3rd Berkeley Distribution, running perl 5.005, patch 03, filed under JDRESOLVE(1) β go resolve something gorgeous ππ
π¦ where this page comes from
- debian bookworm: jdresolve 0.6.1-7
- debian trixie: jdresolve 0.6.1-7
- ubuntu noble: jdresolve 0.6.1-7
- ubuntu questing: jdresolve 0.6.1-7
- ubuntu resolute: jdresolve 0.6.1-7build1
- ubuntu stonking: jdresolve 0.6.1-7build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms