// Aula 1 - Criando o nosso Servidor DNS Master # apt install bind9 # vim /etc/hosts 127.0.0.1 localhost 127.0.1.1 dns1.empresa.com.br dns1 192.168.88.2 dns1.empresa.com.br dns1 # vim /etc/hostname dns1.empresa.com.br. # vim /etc/netplan/01-netcfg.yaml search: [empresa.com.br] # hostname # hostname -f # hostname -I # cd /etc/bind # ls -l # vim /etc/bind/named.conf.options listen-on port 53 { 192.168.88.2; }; # named-checkconf # vim named.conf.local zone "empresa.com.br" { type master; file "/etc/bind/direta.db"; }; # named-checkconf # systemctl status bind9