DNS

echo «nameserver 1.1.1.1» > /etc/resolv.conf

apt-get update && apt-get install -y bind bind-utils

apt-get install samba-dc

apt-get install chrony

apt-get install task-samba-dc -y

apt-get install task-samba-dc-mitkrb5

apt-get update && apt-get install -y admc

vim /etc/bind/options.conf – тут вносим изменения с фото

 

systemctl enable —now bind

cat <<EOF> /etc/net/ifaces/ens19/resolv.conf

search au.team

nameserver 192.168.11.66

EOF

systemctl restart network

systemctl restart bind