@bind9
1 設定檔 #vi /etc/bind/named.conf
1.1次要(設定檔)#vi /etc/bind/named.conf.local
將以下內容寫入,在named.conf.local
zone "oilbelly.sungyy.org" {
type master;
file "/etc/bind/oilbelly.zone";
};
ps:oilbelly.sungyy.org這是申請的dns
設定記錄的檔案/etc/bind/oilbelly.zone
2設定記錄的檔案內容
$TTL 604800
@ IN SOA oilbelly.sungyy.org. root (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache
TTL;
@ IN NS oilbelly.sungyy.org.
@ IN A 140.134.210.199
IN MX 10 mail
mail IN A 140.134.210.199
ftp IN A 140.134.210.199
www IN A 140.134.210.199
dns IN A 140.134.210.199
aaa IN A 140.134.210.199
bbb IN A 140.134.210.199
ccc IN A 140.134.210.199
3啟動dns
#/etc/init.d/bind9 start
沒有留言:
張貼留言