This also resolved the issue for me.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 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.
Got it! My provider's awesome support got it sorted within the hour. Now working for me as wellYou would not be able to apply this fix as the cPanel user as this is something your host would have to do.
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.![]()