เนื่องจาก GDCC ไม่มี dns ให้ จึงต้องติดตั้ง BIND
------------------
BIND9
1.install ubuntu 22.04
2.แก้ไข ssh ให้ login root จากทุกที่ได้
3.apt update &&apt upgrade -y
4. apt-get remove --auto-remove bind9
5.apt-get purge --auto-remove bind9
6. apt install bind9 bind9utils bind9-doc dnsutils
7. systemctl status bind9
8.ifconfig
9.acl "trusted" {
192.168.1.0/24;
localhost;
};
options {
directory "/var/cache/bind";
recursion yes;
allow-query { trusted; };
forwarders {
8.8.8.8;
8.8.4.4;
};
dnssec-validation auto;
listen-on-v6 { any; };
}
10.
named-checkconf /etc/bind/named.conf.options
11.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น