Adding a Perl Module

eJM

enterpriseJM
#1
I found what appears to be a great tutorial about preventing spam in a topic here: https://www.knownhost.com/forums/threads/how-to-stop-spam-dead-in-its-tracks.3376/ There is a PDF file I am following the instructions on and came to a stop at the end of Step 2. Here is suggests:
Make sure that the Net∷DNS Perl module is installed. I think it would be very unusual if it weren’t, and
probably other important things would be broken. But just in case …

In WHM » Home » Software » Install a Perl Module, scroll down and find “Net∷DNS” (mine is version
0.83). IF it’s not installed, then click on the “Show Available Perl Module(s)” button near the top of the
page, and then click on the “Install” link next to Net∷DNS in the list.
This tut was written before the version of cPanel/WHM I am using, so things might be a little different. I wanted to reply to that discussion to ask this question, but the last several posts, over the last year and a half have gone unanswered. So...

I found the Install a Perl Module and there were no modules installed. I did a search of the list or available modules for Net∷DNS and found 2 results that were not exactly what was shown in the tutorial:

Net::DNS::ZoneParse::parser::NetDNSZoneFileFast (0.1)
Net::DNS::ZoneParse::parser::NetDNSZoneParser (0.1)

Is these what I should install? Or is that tutorial outdated and should be discarded?

Thanks for any help.

Jim
 

KH-Jonathan

Director of Managed Services
Staff member
#3
That tutorial is still pretty valid, but very in-depth and requires work to keep it going.

If you want to stop spam though, that's a good one.
 

Dan

Moderator
#4
I found the Install a Perl Module and there were no modules installed.
If I go to Install a Perl Module in WHM a script runs and then it populates with a long list of modules installed already. One of which is Net::DNS. That's not what you see when you go to Install a Perl Module?
 
#5
Section #4 of the pdf broke Outlook for me and I could not send emails. It did not like the 15 second delay so I had to leave that part out. I did the rest until section #6 and it has stopped 99% of spam.
 

eJM

enterpriseJM
#6
If I go to Install a Perl Module in WHM a script runs and then it populates with a long list of modules installed already. One of which is Net::DNS. That's not what you see when you go to Install a Perl Module?
No, it says this at the bottom of that box:

Installed Perl Module(s)
No Perl Module(s) installed.

And the list of available modules with Net::DNS as a search term included only the two I mentioned in my first post:

Section #4 of the pdf broke Outlook for me and I could not send emails. It did not like the 15 second delay so I had to leave that part out. I did the rest until section #6 and it has stopped 99% of spam.
Further in the thread that discussed the steps, it was determined that setting that to 2 seconds, instead of 15, worked for those who said they tried it. The author agreed that was an option for those for whom 15 seconds didn't.

Thanks,

Jim
 

Dan

Moderator
#7
Does your Install a Perl Module window look like this?

If I put net::dns into the search box there and hit the Go button I get 2 pages of results. The ninth of which is the module you're looking for.
 

Attachments

eJM

enterpriseJM
#8
Dan, that's very odd. I was about to share a screenshot of what I saw yesterday (only the 2 listings I mentioned in my first post), but just now, when I performed the exact same search I did last night, that whole long list came up. I don't know what or how it happened. I promise you I wasn't smokin' anything funny and what I reported in this thread yesterday was just as I saw it. I'm gonna quit scratchin' my head, 'cause I can't afford any more hair loss. The Perl Module is installed now. On to step 3. :)
 
Top