Scenario Description:
A customer, the enterprise has more than one Linux-built DNS server, there are more than one Windows-built DNS server. A client wants to add a Linux DNS server to a "reverse lookup zone" on a Windows DNS server. As shown in the following:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/7E/wKioL1W4xNaQKt00AAKzYkPHTsU572.jpg "title=" 1.png " alt= "wkiol1w4xnaqkt00aakzykphtsu572.jpg"/> Environment Construction:
Description:Windows DNS Server Setup was skipped and this article will focus on building a DNS server using Redhat 6.5.
Redhat 6.5 Setting up the DNS server environment description:
A Windows DNS server, computer name: dc01.contoso.com,ip:192.168.10.10
A Linux DNS server, computer name: linuxdns.contoso.com,ip:192.168.10.250
To start building a DNS server:
Installing Dns:yum Install Bind
To view the configuration file:
Cd/var/named
Ls
Vim/etc/named.conf
Configuration files such as:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/81/wKiom1W4xfLysiR7AALL6s0ug_k990.jpg "title=" 1.png " alt= "Wkiom1w4xflysir7aall6s0ug_k990.jpg"/>
Named-checkconf #检查主配置文件是否存在错误.
To write a forward zone configuration file:
Vim Contoso.com.zone
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/81/wKiom1W4xqfwTVLxAADrlH7xZmE495.jpg "title=" 1.png " alt= "Wkiom1w4xqfwtvlxaadrlh7xzme495.jpg"/>
To write a reverse zone profile:
Vim 192.168.10.zone
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/7E/wKioL1W4yPeDk1GCAAD6YIowqZQ109.jpg "title=" 1.png " alt= "Wkiol1w4ypedk1gcaad6yiowqzq109.jpg"/>
Check the configuration file for errors
Named-checkzone contoso.com Contoso.coom.zone
Named-checkzone contoso.com 192.168.10.zone
If an error is found, you can use the following command to check if the error has an effect
Named-checkzone contoso.com 192.168.10.zone; echo $?
If the result is 0, it has no effect, and the non-0 has an effect.
Start Services: Service named start
Check, Ping linuxdns.contoso.com, dc01.contoso.com on Linux server
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/7F/wKioL1W4zRaByK7yAAJAxYBBWmM443.jpg "title=" 1.png " alt= "Wkiol1w4zrabyk7yaajaxybbwmm443.jpg"/>
If the ping does not work, check the firewall and shut down the firewall:
Service IPtables Stop
Iptables-f
Iptables-l
Gentenforce
Setenforce 0
Ping linuxdns.contoso.com, dc01.contoso.com on Windows Server
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/7F/wKioL1W4zV_iApVkAAICDVmVIHs027.jpg "title=" 1.png " alt= "Wkiol1w4zv_iapvkaaicdvmvihs027.jpg"/>
The DNS server is well-equipped. The next step is to add a reverse lookup zone on the Windows DNS server.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/7F/wKioL1W4zw-z1n81AAK4SmZeeqY312.jpg "title=" 1.png " alt= "Wkiol1w4zw-z1n81aak4smzeeqy312.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/82/wKiom1W4zhajh3IrAAFre6kL650088.jpg "title=" 1.png " alt= "Wkiom1w4zhajh3iraafre6kl650088.jpg"/>
Then I saw the beginning of the scene. The experiment is complete.
This article is from the "Min blog" blog, make sure to keep this source http://melody1990.blog.51cto.com/9024565/1679790
Redhat 6.5 & Windows configuration DNS server