preparation-scripts/installation/dns.sh
2024-11-21 17:16:58 +01:00

8 lines
171 B
Bash
Executable file

#!/bin/bash
sudo apt update
sudo apt install -y bind9 bind9utils bind9-doc
echo "nameserver 192.168.16.1" >/etc/resolv.conf
systemctl start named
systemctl enable named