亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1498 | 回復(fù): 2
打印 上一主題 下一主題

[DNS] 同時對內(nèi)部和外部都提供dns服務(wù)應(yīng)怎么配? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2004-09-11 11:39 |只看該作者 |倒序瀏覽
我們公司新配了一個dns服務(wù)器(Freebsd 4.10,bind 9),域名為livedoor.cn和livedoor.com.cn,需要同時對內(nèi)和對外提供dns服務(wù)。內(nèi)部使用10.4.5.0網(wǎng)段,我目前的做法是:
less livedoor.cn

;
; The dns database file of zone livedoor.cn
; ;

@ IN SOA dns.livedoor.cn. root.livedoor.cn. (
                        2004090202      ; Serial
                        10800           ; Refresh after 3 hours
                        3600            ; Retry after 1 hour
                        604800          ; Expire after 1 week
                        86400           ; Minimum TTL if 1 day
)

;
; Set the dns server of this zone
;

                IN      NS      dns.livedoor.cn.

;
; Address for the canonical nsmes
;
localhost       IN      A       127.0.0.1
dns             IN      A       210.x.y.z
                IN      A       10.4.5.1
www             IN      A       10.4.5.2
                IN      A       210.x.y.z1
jh              IN      A       10.4.5.3

;
; Set the mx RR for the domail livedoor.cn
;

livedoor.cn.    IN      MX      10      www.livedoor.cn.

;
; Aliases
;
rt              IN      CNAME   dns
mail            IN      CNAME   www

;
; Interface specific names
;
dns10           IN      A       10.4.5.1
dns210          IN      A       210.x.y.z



dns# less livedoor.com.cn

;
; The dns database file of zone livedoor.com.cn
;
;

@ IN SOA dns.livedoor.com.cn. root.livedoor.cn. (
                        2004090302      ; Serial
                        10800           ; Refresh after 3 hours
                        3600            ; Retry after 1 hour
                        604800          ; Expire after 1 week
                        86400           ; Minimum TTL if 1 day
)

;
; Set the dns server of this zone
;

                IN      NS      dns.livedoor.com.cn.

;
; Address for the canonical nsmes
;
localhost       IN      A       127.0.0.1
;
; The dns database file of zone livedoor.com.cn
; Wrote by ge_johnny
;

@ IN SOA dns.livedoor.com.cn. root.livedoor.cn. (
                        2004090302      ; Serial
                        10800           ; Refresh after 3 hours
                        3600            ; Retry after 1 hour
                        604800          ; Expire after 1 week
                        86400           ; Minimum TTL if 1 day
)

;
; Set the dns server of this zone
;

                IN      NS      dns.livedoor.com.cn.

;
; Address for the canonical nsmes
;
localhost       IN      A       127.0.0.1
dns             IN      A       210.x.y.z
                IN      A       10.4.5.1
www             IN      A       10.4.5.2
                IN      A       210.x.y.z1
jh              IN      A       10.4.5.3

;
; Aliases
;
rt              IN      CNAME   dns
mail            IN      CNAME   www

;
; Set the mx RR for the domail livedoor.com.cn
;

livedoor.com.cn.        IN      MX      10      www.livedoor.com.cn.

;
; Interface specific names
;
dns10           IN      A       10.4.5.1
dns210          IN      A       210.x.y.z


使用起來有時正常有時不正常,而且一個查詢還會解析出來內(nèi)網(wǎng)的ip地址。

剛才看帖子說要把內(nèi)網(wǎng)的解析和外網(wǎng)的解析分開,但是沒有找到解決辦法,請指點。

論壇徽章:
0
2 [報告]
發(fā)表于 2004-09-13 09:55 |只看該作者

同時對內(nèi)部和外部都提供dns服務(wù)應(yīng)怎么配?

哈哈~~

我找到了bind9的view功能,解決了我的問題~~

-o-

論壇徽章:
0
3 [報告]
發(fā)表于 2004-09-13 11:36 |只看該作者

同時對內(nèi)部和外部都提供dns服務(wù)應(yīng)怎么配?

俺也是使用VIEW的這屬性來解決這樣的問題的。:)
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP