Linux--dns Server

Source: Internet
Author: User
Tags domain name server

         DNS server is a computerDomain Name System(domain name System or domain name Service), which is an abbreviation for theDomain Name Resolverand theDomain Name Servercomposed of. Domain Name Serveris to save all of the networkHostthe domain name and correspondingIP Addressand has a server that converts the domain name to the IP address feature.


1.rpm-qa|grep bind See if the service is installed.
650) this.width=650; "alt=" Picture "src=" http://b392.photo.store.qq.com/psb?/V10HoZq923s0qn/ njevgnpnhtrhofyoqtimjh0wkcnddlluc4cydf5yvic!/b/da4xtonsigaa&bo=iaeeaaaaaaadali! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:392px;height:30px; "/>

2.vim/etc/named.conf Edit the configuration file.
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/v10hozq923s0qn/j* cw1uxi9gzxjube9ftiqsyl6flzcim9w4gf4cuv0nu!/b/dkgog.l0faaa&bo=hwefaaaaaaadalw! "style=" margin:0px;padding:0 px;border-width:0px;border-style:none;vertical-align:top;width:391px;height:31px; "/>

3. For example.
650) this.width=650; "alt=" Picture "src=" http://b392.photo.store.qq.com/psb?/V10HoZq923s0qn/ 5gdletg8wixkrxq1jgabogcgcrk.emwovaebcdoe1zw!/b/djo6tonwigaa&bo=kalwaqaaaaadaga! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:656px;height:470px; "/>

4.Vim/etc/named.rfc1912.zones Edit the configuration file.
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/V10HoZq923s0qn/ Hnuwrm33z.yttx.fb.gaibjmzd73vklh4fjtqcr7aci!/b/daxx4urpiqaa&bo=ngewaaaaaaadaio! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:414px;height:48px; "/>

5. For example.(think about the role of two configuration files)
650) this.width=650; "alt=" Picture "src=" Http://b394.photo.store.qq.com/psb?/V10HoZq923s0qn/4FM ... Wvemjynsunn0qukuwxfgofyhlba6t*ufipjh*u!/b/dii93orqiqaa&bo=lalzaqaaaaadags! "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top;width:660px;height:473px; "/>

6.cp-p/var/named/named.localhost/var/named/yzh.com.zone Copy a template for the forward parsing configuration.
650) this.width=650; "alt=" Picture "src=" http://b392.photo.store.qq.com/psb?/v10hozq923s0qn/cplft6z* x2rvrj2nouiu4vexgeuijbacl7dnbyvuneg!/b/dcc2sensigaa&bo=cgizaaaaaaadaew! "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top;width:626px;height:25px; "/>

7.  cp-p/var/named/named.localhost/var/named/172.16.109.zero copies a copy of the template for reverse resolution configuration. Ditto.
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/V10HoZq923s0qn/ l3rv4xlcrpb6c9gpiihsb0yahrvwoerximomwbf2a8w!/b/dgemfolffaaa&bo=jqicaaaaaaadaly! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:653px;height:28px; "/>

8.Vim/var/named/yzh.com.zone To edit a forward parsing configuration file
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/V10HoZq923s0qn/ u0iidya5h5lnhyobhzhacgmmamnsiwsstnox*95qncm!/b/dhvb2erniqaa&bo=jwexaaaaaaadalw! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:399px;height:23px; "/>

9. For example. (Important)
650) this.width=650; "alt=" Picture "src=" http://b392.photo.store.qq.com/psb?/V10HoZq923s0qn/ yw2hftwedat8j3f75tymnmmcukzgldxwpmjldyzz*u4!/b/domqqonvigaa&bo=lglcaqaaaaadagw! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:662px;height:476px; "/> 
10.Vim/etc/named/172.16.109.zero Edit Reverse Parse Reverse file
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/v10hozq923s0qn/76* cxfx5zkjjhvubqvpj5ocui.ps0jurpbuhrd8bdqa!/b/dj9f4urriqaa&bo=iwecaaaaaaadalm! "style=" margin:0px;padding:0px ; border-width:0px;border-style:none;vertical-align:top;width:395px;height:28px; "/>
11. For example. (Important)
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/v10hozq923s0qn/yy1yjwo7.cs0bpfdp.3n7ur* seybupigqdbcot9ac7i!/b/df812erbiqaa&bo=lwlcaqaaaaadag0! "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:663px;height:476px; "/>


12.Service named Start Start the DNS service
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/v10hozq923s0qn/iw*xqgjudc*o3utlo* lwjjn5v98hvwxpb7ft9bqnxha!/b/dako5.rwiqaa&bo=jajcaaaaaaadaee! "style=" margin:0px;padding:0px;border-width:0 px;border-style:none;vertical-align:top;width:548px;height:66px; "/>





13. In Windoxia, change the DNS address of the local connection, such as.
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/V10HoZq923s0qn/ gwdcz7eqkextmhxfb8nkrmrqrwzy.rae621ckhdm6nq!/b/dhdf3ormiqaa&bo=fwhnaaaaaaadajy! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:383px;height:205px; "/>

14.open cmd and enter nslookup validation. Input: www.yzh.com ftp.yzh.com dns1.yzh.com mail.yzh.com 
Conversely---input IP is OK.
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/v10hozq923s0qn/vma*gnp5fiqu6cek* g5qgiopka1ydlkd8w0t8kygvqk!/b/dc54d.lbfaaa&bo=vakcaqaaaaadao4! "style=" margin:0px;padding:0px;border-width : 0px;border-style:none;vertical-align:top;width:596px;height:412px; "/>


15. Success.



This article is from "Heart far, road far." "Blog, be sure to keep this provenance http://yzh123.blog.51cto.com/9014017/1551745

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