cyberpanel/cyberpanel-mods/rdns/INDEX.md

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 issues
  • INSTALL.md - Step-by-step installation guide
  • INDEX.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 fixed reverse_dns_lookup() function
  • virtualHostUtilities_fixed.py - Fixed code sections for OnBoardingHostName() function

Quick Start

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

  1. NameError Bug - Fixed undefined variable msge
  2. Empty List Handling - Proper validation of empty rDNS results
  3. Silent Exception Swallowing - Replaced with specific error handling
  4. API Failure Handling - Comprehensive error handling for DNS server failures
  5. Logic Flow Issues - Fixed validation flow when rDNS lookup fails
  6. 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

Support

See rDNS-Fix-README.md for detailed troubleshooting and support information.