How to disable DNS recursion on kloxo

Here is the quick code to disable DNS recursion on kloxo based server:

Login to SSH with root credential

Find the “named” configuration file:

# locate named.conf

For chrooted system:

Output : /var/named/chroot/etc/named.conf

Edit the file named.conf

# nano /var/named/chroot/etc/named.conf

In updated Kloxo following is the options file:

# nano /var/named/chroot/etc/global.options.named.conf

Add following code at the end of named.conf file and save changes by CTRL+O:

options {allow-recursion {127.0.0.1; };};

Exit from text editor (For nano)

CTRL+X

Restart named services:

service named restart

That is all : )

SSH commands for Kloxo Panel

Here is the list of all SSH commands for Kloxo panel involves easy troubleshooting if you have any issue:

Use the below commands from SSH terminal or Putty terminal :

# /script/command

Commands

/script/backup

/script/fixhorde

/script/resetpassword

/script/centos5-postpostupgrade

/script/fixmail

/script/restart

/script/centos5-postupgrade

/script/fixphp

/script/restore

/script/centos5-upgrade

/script/fixquota

/script/ror-install (Installs ruby on rails)

/script/cleanspamdyke

/script/fixtraffic

/script/cleanup (Cleans and repairs broken libraries and modules, fix directory permissions)

/script/fixvpop

/script/secondary-setup

/script/clearallowedblockedip

/script/fixweb

/script/secondary-start

/script/collectquota

/script/upcp

/script/fix-program-mysql (set/reset admin password)

/script/xcache-install

/script/fixdns

You can use any of the above command according to the issue you are having with the kloxo installation.

Cheers!