In Progress CPANEL-36160 - Internal Server Error for DDNS

Operating System & Version
CentOS 7
cPanel & WHM Version
v94.0.2

lumous

Registered
Dec 7, 2012
1
0
51
cPanel Access Level
DataCenter Provider
I did manage to fix the error and hope this helps someone
(Disclaimer, worked for me and hoping it breaks nothing)

1. Install Net::DNS::Extlang using the Perl Module installer in WHM.
2. Copy the file /usr/local/share/perl5/Net/DNS/Extlang.pm to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS
3. Copy the folder /usr/local/share/perl5/Net/DNS/Extlang to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS

If this does not solve your issue and you want to roll back, remove the folder and file from /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS that you copied there.
This also resolved the issue for me.

@cPRex When the developers resolve this issue, can you please let us know if we need to roll this patch back before upgrading to 96?
 

nikbr998

Registered
Mar 17, 2021
3
0
1
Sweden
cPanel Access Level
Website Owner
I did manage to fix the error and hope this helps someone
(Disclaimer, worked for me and hoping it breaks nothing)

1. Install Net::DNS::Extlang using the Perl Module installer in WHM.
2. Copy the file /usr/local/share/perl5/Net/DNS/Extlang.pm to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS
3. Copy the folder /usr/local/share/perl5/Net/DNS/Extlang to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS

If this does not solve your issue and you want to roll back, remove the folder and file from /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS that you copied there.
Would anyone know if there is a similar workaround if I don't have access to /usr/.../cpanel_lib/Net/DNS dir? I am the customer of a hosting provider.

I can install Net::DNS::Extlang using Cpanel - Perl Modules.

I have access to my home directory only. and e.g. ~/perl and ~/.cpanel. I can find extlang dir and extlang.pm file a bit down in ~/perl, but do not know where to put them. ~/.cpanel does not include any 3rdparty dir.

Would this be the right place to put the file/dir?:
.cpanm/work/1618695364.13561/Net-DNS-Extlang-0.2/lib/Net/DNS

Thanks.
 

UANESI

Registered
Jul 18, 2015
2
0
51
Venezuela
cPanel Access Level
DataCenter Provider
This worked for us thanks

Also bit by this, we were just trying to set this up. The first request received a 200 response and worked, all subsequent ones are getting 500.

This is not probably recommended AT ALL, but it does provide a workaround:

cd /usr/local/cpanel/3rdparty/perl

Look at what version is the latest, in our case it is 532. The error_log above will give you a hint when you see the notice about the Net::DNS::Extlang module that is missing, the @INC paths will have the perl version in there.

cd 532
bin/cpan Net::DNS::Extlang

This will install the module and it then started working for us. It will break on the next update if the underlying issue is not fixed I'm sure, and the issue may simply be making sure this module gets installed.

Our primary interest in this function is to pair it with csf/lfd to help staff not get blocked by modesurity/etc, but not hardcode IPs that are changing. Seemed like a perfect fit if it works. Would be nice to have some MacOS GUI app they could run that just refreshed this URL periodically and showed the status, but that is another topic altogether. :)
 

Clouseau

Active Member
Jan 17, 2015
41
3
58
cPanel Access Level
Root Administrator
I see a fix in here that takes a few minutes to fix the issue. Why hasn't this allready been resolved, almost 2 months has passed? You did raised the prices of licences brutally so where is the fast support and issue resolving?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,275
2,432
363
cPanel Access Level
Root Administrator
Update - the fix has been included as part of case CPANEL-35716 instead of the one I originally mentioned, as it turned out that work ended up overlapping. This is available in version 96.

This will also be backported to version 94, although it has not been assigned a version just yet.