Instructions to download the latest version of cPanel DNS can be found here.
Run the latest-dnsonly script with the –keep switch
sh latest-dns-only –keep
Change to the installed directory
Edit the “install” file
search for “$min_memory_rules”
change your version to 512
Run the installer script from there: