搭建單區域DNS伺服器

2021-09-30 20:43:32 字數 579 閱讀 3397

server: 192.168.4.5 //dns伺服器的名稱

address: 192.168.4.5#53 //dns伺服器的位址、埠

name: svr5.tedu.cn //查詢的目標網域名稱

address: 192.168.4.5 //反饋的結果ip位址

查詢網域名稱pc205.tedu.cn,對應的記錄應為192.168.4.205:

[root@pc205 ~]# nslookup pc205.tedu.cn

server: 192.168.4.5

address: 192.168.4.5#53

name: pc205.tedu.cn

address: 192.168.4.205

查詢網域名稱win7pc.tedu.cn,對應的記錄應為192.168.4.110:

[root@pc205 ~]# nslookup win7pc.tedu.cn

server: 192.168.4.5

address: 192.168.4.5#53

name: win7pc.tedu.cn

address: 192.168.4.110

搭建單區域DNS伺服器

yum y install bind bind chroot vim etc named.conf etc named.conf.origin vim etc named.conf options zone tedu.cn cd var named cp p named.localhost tedu...

搭建單區域DNS伺服器

公司 已經搭建完成,但是目前只能通過ip位址進行訪問。因前期已經申請了二級dns區域tedu.cn,現要求為此區域搭建一台dns伺服器,以便使用者能通過網域名稱的方式訪問 測試階段主要提供以下正向記錄解析 從linux客戶機上驗證上述查詢結果 使用2臺rhel6虛擬機器,其中一台作為dns伺服器 1...

搭建單區域DNS伺服器 1

步驟一 構建dns伺服器 1 使用yum安裝dns所需軟體包bind bind chroot root svr5 yum y install bind bind chroot root svr5 rpm q bind bind chroot bind 9.8.2 0.17.rc1.el6 4.6.x...