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

Chinaunix

標題: 同時對內部和外部都提供dns服務應怎么配? [打印本頁]

作者: ge_johnny    時間: 2004-09-11 11:39
標題: 同時對內部和外部都提供dns服務應怎么配?
我們公司新配了一個dns服務器(Freebsd 4.10,bind 9),域名為livedoor.cn和livedoor.com.cn,需要同時對內和對外提供dns服務。內部使用10.4.5.0網段,我目前的做法是:
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


使用起來有時正常有時不正常,而且一個查詢還會解析出來內網的ip地址。

剛才看帖子說要把內網的解析和外網的解析分開,但是沒有找到解決辦法,請指點。
作者: ge_johnny    時間: 2004-09-13 09:55
標題: 同時對內部和外部都提供dns服務應怎么配?
哈哈~~

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

-o-
作者: gaussong    時間: 2004-09-13 11:36
標題: 同時對內部和外部都提供dns服務應怎么配?
俺也是使用VIEW的這屬性來解決這樣的問題的。:)




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2