1.9 KiB
1.9 KiB
CyberPanel rDNS Fix Mod for v2.4.4
Overview
This mod fixes critical bugs and issues in the rDNS (reverse DNS) validation system in CyberPanel 2.4.4.
Files in This Mod
Documentation
rDNS-Fix-README.md- Comprehensive documentation of all fixes and issuesINSTALL.md- Step-by-step installation guideINDEX.md- This file, mod overview and quick reference
Installation Scripts
apply-rdns-fix.sh- Automatic installation script (recommended)
Fixed Code Files
mailUtilities_fixed.py- Complete fixedreverse_dns_lookup()functionvirtualHostUtilities_fixed.py- Fixed code sections forOnBoardingHostName()function
Quick Start
One-Liner (Recommended)
sh <(curl https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/rdns/rdns-fix.sh || wget -O - https://raw.githubusercontent.com/master3395/cyberpanel-mods/main/rdns/rdns-fix.sh)
Local Installation
cd cyberpanel-mods/rdns
chmod +x rdns-fix.sh
sudo ./rdns-fix.sh
Issues Fixed
- ✅ NameError Bug - Fixed undefined variable
msg→e - ✅ Empty List Handling - Proper validation of empty rDNS results
- ✅ Silent Exception Swallowing - Replaced with specific error handling
- ✅ API Failure Handling - Comprehensive error handling for DNS server failures
- ✅ Logic Flow Issues - Fixed validation flow when rDNS lookup fails
- ✅ Error Messages - Enhanced with debugging information
Compatibility
- CyberPanel Version: 2.4.4
- Python: 3.6+ (compatible with CyberPanel 2.4.4)
- OS: All supported by CyberPanel 2.4.4
Related Links
Support
See rDNS-Fix-README.md for detailed troubleshooting and support information.