(16)
apt install bind9
vim /etc/bind/named.conf.options
--キャッシュサーバ設定
// forwarders {
// 0.0.0.0;
// };
↓
forwarders {
8.8.8.8;
};
named-checkconf
systemctl enable bind9
systemctl restart bind9
systemctl status bind9
(18)
apt install bind9
vim /etc/bind/named.conf.options
--キャッシュサーバ設定
// forwarders {
// 0.0.0.0;
// };
↓
forwarders {
8.8.8.8;
};
named-checkconf
systemctl enable bind9
systemctl restart bind9
systemctl status bind9
(9)
apt install bind9
vim /etc/bind/named.conf.options
--キャッシュサーバ設定
// forwarders {
// 0.0.0.0;
// };
↓
forwarders {
8.8.8.8;
};
named-checkconf
systemctl enable bind9
systemctl restart bind9
systemctl status bind9
(7)
yum -y install bind bind-utils
vim /etc/named.conf
--キャッシュサーバ設定
options {
listen-on port 53 { any; };
allow-query { any; };
recursion yes;
dnssec-enable no;
dnssec-validation no;
};
named-checkconf
systemctl enable named
systemctl restart named
systemctl status named
- Windows Server
(2012R2)
https://www.server-world.info/query?os=Windows_Server_2012&p=dns
役割追加によりキャッシュサーバとして動作する