天天看點

centos7安裝dns伺服器

安裝軟體:

修改配置檔案:

a. 修改主配置檔案:vim /etc/named.conf

b. 建立正向解析域:vim /etc/named/zones/lee.com.zone

c. 建立反向解析域:vim /etc/named/zones/192.168.zone

檢查配置檔案文法:

a. 檢查主配置檔案文法:

b. 檢查正向解析域的文法:

centos7安裝dns伺服器

c. 檢查反向解析域的文法:

centos7安裝dns伺服器

啟動服務:

用戶端驗證:

a. linux用戶端:

a-1. 修改DNS伺服器:vim /etc/resolv.conf

centos7安裝dns伺服器

a-2. 驗證:

centos7安裝dns伺服器

b. windows用戶端:

b-1. 修改DNS伺服器:

centos7安裝dns伺服器
centos7安裝dns伺服器
centos7安裝dns伺服器
centos7安裝dns伺服器
centos7安裝dns伺服器
centos7安裝dns伺服器

b-2. 驗證:

centos7安裝dns伺服器
centos7安裝dns伺服器

 本文轉自 Lee_吉 51CTO部落格,原文連結:http://blog.51cto.com/12173069/2070037

繼續閱讀