logo logo

Securing BIND on LXAdmin

Just for little noted, 😉

1. Open master named.

vi /var/named/chroot/etc/named.conf

2. You will get this line

//Lxadmin

include "/etc/lxadmin.named.conf";

3. Add this line, before “inlcude…”

options {
  listen-on { NAMESERVER 1 IP; NAMESERVER 2 IP; };
  allow-recursion { none; };
};

4. And full script after it

options {
  listen-on { 1.2.3.4; 4.3.2.1; };
  allow-recursion { none; };
};

//Lxadmin

include "/etc/lxadmin.named.conf";

5. Done, save it and restart your named.

Note: this is just very simple trick, you can try using fail2ban and other.

bottom

Leave a Reply

Your email address will not be published. Required fields are marked *

 

bottom