- Install the bind9 packaged
 
apt install bind9 bind9utils bind9-doc
- Modify /etc/bind/named.conf.options
 
acl "slaves" {
   10.255.0.0/16;
};
acl "internal" {
   10.255.0.0/16;
   192.168.5.0/24;
   192.168.222.0/24;
};
— and to the options section:
        allow-recursion  { internal; };
        listen-on { 10.255.1.177; };
        allow-transfer { none; };
        forwarders { 8.8.8.8; 8.8.4.4; };
— comment out local zones from named.conf
— Create all the zone files.
— Set permissions on zone files