MassResolve is a software program that performs reverse DNS lookups on network blocks or an input file. It is designed to help users obtain useful information regarding domain names and IP addresses.
The code for the program is designed in C and was created by John Anderson in 2000. The code includes necessary libraries such as netdb.h, string.h, getopt.h, and more. The program includes a function called "rlookup" that takes in an IP address and uses that to look up the hostname associated with it. This function utilizes gethostbyaddr to perform the lookup and will print out the result to the console.
The main function of the program includes a loop that reads in the input file if it exists and resolves each line within it as an IP address using the "rlookup" function. The program is able to fork processes to handle each lookup, which allows for multi-threading and faster overall performance. The maximum number of forks is set to 64 by default, but this can be adjusted by passing a number as the second input.
Overall, I found MassResolve to be a powerful tool for resolving DNS lookups in a straightforward and efficient way. The ability to use multi-threading allows for faster performance and makes this program a great option for anyone dealing with large networks or files.
Version 0.1: N/A