Redhat 6.5 & Windows configuration DNS server

Source: Internet
Author: User

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:

    1. A Windows DNS server, computer name: dc01.contoso.com,ip:192.168.10.10

    2. A Linux DNS server, computer name: linuxdns.contoso.com,ip:192.168.10.250

To start building a DNS server:

  1. Installing Dns:yum Install Bind

  2. 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"/>

  3. Named-checkconf #检查主配置文件是否存在错误.

  4. 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"/>

  5. 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"/>

  6. 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.

  7. Start Services: Service named start

  8. 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"/>

  9. 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"/>

  10. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.