1
Linux 討論版 / Re: 部署sub domain失敗
« 於: 2014-01-30 07:58 »nameserver我早就修改成本機的IP地址了,不然怎麼能夠解析我設置的domain,我只是想建立一個內部伺服器供單位使用。
喔!抱歉~ 我沒注意到
只是您的配置內容跟 DNS 的運作跟我想的不太一樣,所以讓我產生好奇
謝謝
感恩您的热情帮助,你真是一个nice的人。
這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。
nameserver我早就修改成本機的IP地址了,不然怎麼能夠解析我設置的domain,我只是想建立一個內部伺服器供單位使用。
喔!抱歉~ 我沒注意到
只是您的配置內容跟 DNS 的運作跟我想的不太一樣,所以讓我產生好奇
謝謝
$TTL 86400
$ORIGIN 13hospital.cn.
@ IN SOA 13hospital.cn. ns.13hospital.cn. (
2014010001
10800
3600
604800
0
)
@ IN NS ns.13hospital.cn.
ns IN A 172.24.28.6
mail IN A 172.24.28.206
www IN A 172.24.28.206
$ORIGIN sub.13hospital.cn.
sub IN NS ns.sub.13hospital.cn.
ns IN A 172.24.28.14
$TTL 86400
$ORIGIN 13hospital.cn.
@ IN SOA 13hospital.cn. ns.13hospital.cn. (
2014010000
10800
3600
604800
0
)
@ IN NS ns.13hospital.cn.
ns IN A 172.24.28.6
mail IN A 172.24.28.206
www IN A 172.24.28.206
$ORIGIN sub.13hospital.cn.
@ IN NS ns.sub.13hospital.cn.
ns IN A 172.24.28.14
$TTL 86400
@ IN SOA 13hospital.cn. ns.13hospital.cn. (
2014010000
10800
3600
604800
0
)
@ IN NS ns.13hospital.cn.
ns IN A 172.24.28.6
mail IN A 172.24.28.206
www IN A 172.24.28.206
$ORIGIN sub.13hospital.cn.
sub.13hospital.cn IN NS ns.sub.13hospital.cn.
ns.sub.13hospital.cn. IN A 172.24.28.14
[root@ns /var/named/chroot/var/named]# nslookup ns.sub.13hospital.cn
Server: 172.24.28.6
Address: 172.24.28.6#53
Name: ns.sub.13hospital.cn
Address: 172.24.28.14