[安裝 DNS] aptitude update aptitude upgrade aptitude install bind9 [設定 DNS] nano /etc/bind/named.conf 加上 zone "example.com.tw...
[安裝 DNS]
- aptitude update
- aptitude upgrade
- aptitude install bind9
[設定 DNS]
- nano /etc/bind/named.conf
加上 - nano /etc/bind/name.example.com.tw
加上
example.com.tw IN A 192.168.1.1
ns1 IN A 192.168.1.1
www IN CNAME 192.168.1.1
mail IN A 192.168.1.1
zone "example.com.tw" {
type master;
file "/etc/bind/name.example.com.tw";
};