I can understand the first thing you said but what lines and why would you have to comment them out. ????
When I was in this situation, I've just debuged the problem, and commented out the part of the script, where it lookup the visitors host name from ip address.
Then when I solved the problem, I found out that it could be disabled from the admin section of the forum.
So I think don't have to edit anything in the script, but if you does, then it should be this:
Change this:
if (!isset($modSettings['host_to_dis']))
$test = @shell_exec('host -W 1 ' . @escapeshellarg($ip));
else
$test = @shell_exec('host ' . @escapeshellarg($ip));
Something like this:
/* if (!isset($modSettings['host_to_dis']))
$test = @shell_exec('host -W 1 ' . @escapeshellarg($ip));
else
$test = @shell_exec('host ' . @escapeshellarg($ip));
*/
In the Sources/Subs.php
But as I said: It can be disabled from the admin area, no need to edit the script itself.
Tyrael