Linux6.4dns Auxiliary

Source: Internet
Author: User
Tags domain server fully qualified domain name

Explanation of the DNS service principle

Dns:domain Name Service, domain name resolution services

Listening Port: udp/53,tcp/53

Application: Bind

Root domain:.

First-level domain:

Organizational domains:. com,. org,. NET,. mil,. edu,. gov,. info,. CC,. Me,. tv

Country domains:. cn,. US,. UK,. JP,. TW,. HK,. IQ,. ir

Reverse domain:. in-addr.arpa

DNS tree-like structure

650) this.width=650; "title=" 1428417126641471.jpg "alt=" 1.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20150407/1428417126641471.jpg "/>

Parsing method

Forward parsing:fqdn–> IP

Reverse parsing:ip–> FQDN

FQDN: (Fully qualified domain name) name

DNS Query method

Recursion: When a DNS request is accepted by the server, the parent server is requested to pass the request in turn, passing the result to the requesting host, if it falls within the jurisdiction of the server.

650) this.width=650; "title=" 1428417147602024.jpg "alt=" 2.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20150407/1428417147602024.jpg "/>

1 #客户端指向的服务器一定给递归服务

Iteration: After the DNS request is accepted by the server, if it is not within its jurisdiction, let the client access the root domain server and then notify the client with the domain to access the subordinate server until the last client accesses the server that governs the requesting domain name.

650) this.width=650; "title=" 1428417264816553.jpg "alt=" 3.jpg "src=" http://www.178linux.com/ueditor/php/upload/ Image/20150407/1428417264816553.jpg "/>

The above is the schematic diagram of the DNS!

Let me talk about the auxiliary of NDS

The environment I built

Domain Name: xiaoyu.com

Primary Dns:master (IP 192.168.1.100)

Auxiliary dns:slave (IP 192.168.1.101)

Client Win7 (IP 192.168.1.222)

The IP address of the client DNS is selected in the primary and secondary to be tested.

Let me first configure the primary DNS, which is the master machine.

650) this.width=650; "title=" E_y%[na]}]fw8yi3$v4sb~8.png "src=" http://s3.51cto.com/wyfs02/M02/6E/F8/ Wkiol1wn8wzgf85daajr34177cc568.jpg "alt=" wkiol1wn8wzgf85daajr34177cc568.jpg "/>  install package, The Linux6.4 text interface does not have this package by default. Need us to manually install 650) this.width=650; "title=" Qq20150627084005.png "src=" http://s3.51cto.com/wyfs02/M00/6E/FC/ Wkiom1wn8nfwxlqpaabpa1ujsgw788.jpg "alt=" wkiom1wn8nfwxlqpaabpa1ujsgw788.jpg "/>  install well we find 650) this.width= 650; "Title=" Qq20150627084140.png "src=" Http://s3.51cto.com/wyfs02/M01/6E/F8/wKioL1WN8u2AowRwAAB1jv-uFFU298.jpg " alt= "Wkiol1wn8u2aowrwaab1jv-uffu298.jpg"/>  installation success!!!   The next step is to configure the primary DNS service before I configure the firewall, selinux off, or a later will be in the way 650) this.width=650; "title=" 0.png "src="/http S3.51cto.com/wyfs02/m01/6e/fc/wkiom1wn8a-cdmumaaa8iso_epu680.jpg "alt=" Wkiom1wn8a-cdmumaaa8iso_epu680.jpg "/> Start configuring the Dns dns Master profile in the/etc/named.conf zone file in the/etc/named.rf1912.zones forward profile under/var/named  all

650) this.width=650; "title=" 1.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/6E/F8/ Wkiol1wn-alg8awraakln_1eixg921.jpg "alt=" Wkiol1wn-alg8awraakln_1eixg921.jpg "/>

650) this.width=650; "title=" 2.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/6E/FC/ Wkiom1wn9-tt9vbbaaehfn7q3u4476.jpg "alt=" Wkiom1wn9-tt9vbbaaehfn7q3u4476.jpg "/>

650) this.width=650; "title=" 3.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/F9/ Wkiol1wn-alafcolaaijqg4itjq969.jpg "alt=" Wkiol1wn-alafcolaaijqg4itjq969.jpg "/>

There is an error in the xiaoyu.com configuration file below.

Master in A 192.168.1.100

And just erase that record from the mail.

650) this.width=650; "title=" 4.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/FC/ Wkiom1wn9-tgrzsxaaggekqjysy724.jpg "alt=" Wkiom1wn9-tgrzsxaaggekqjysy724.jpg "/>

650) this.width=650; "title=" 5.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/F9/ Wkiol1wn-akbkdu9aadwkhf30yu505.jpg "alt=" Wkiol1wn-akbkdu9aadwkhf30yu505.jpg "/>

650) this.width=650; "title=" 6.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/FC/ Wkiom1wn9-srhnznaadqymaigz0639.jpg "alt=" Wkiom1wn9-srhnznaadqymaigz0639.jpg "/>

Then we configure the auxiliary machine (the following process is all explained in pictures)

650) this.width=650; "title=" 6. png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/FA/ Wkiol1wojwgq9vxwaakedoncmx4794.jpg "alt=" Wkiol1wojwgq9vxwaakedoncmx4794.jpg "/>

650) this.width=650; "title=" 7. png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/FD/ Wkiom1woi6preehlaabdkho6oa0065.jpg "alt=" Wkiom1woi6preehlaabdkho6oa0065.jpg "/>

650) this.width=650; "title=" 8. png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/6E/FA/ Wkiol1wojwgt3f0aaacnaycdig0847.jpg "alt=" Wkiol1wojwgt3f0aaacnaycdig0847.jpg "/>

650) this.width=650; "title=" 9. png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/FD/ Wkiom1woj1qim0aqaakcmzubj-q039.jpg "alt=" Wkiom1woj1qim0aqaakcmzubj-q039.jpg "/>

650) this.width=650; "title=" 10. png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/FA/ Wkiol1wokrjztc9_aaflhliqkna426.jpg "alt=" Wkiol1wokrjztc9_aaflhliqkna426.jpg "/>

650) this.width=650; "title=" 11. png "src=" http://s3.51cto.com/wyfs02/M01/6E/FD/ Wkiom1woj3dwftavaadgnmswn7o138.jpg "alt=" Wkiom1woj3dwftavaadgnmswn7o138.jpg "/>

Shutting down firewalls and SELinux

The next step is to test

First, we first point the DNS to the main

650) this.width=650; "title=" Test 1.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/6E/FD/ Wkiom1woki3ta7rraagruembtc4186.jpg "alt=" wkiom1woki3ta7rraagruembtc4186.jpg "/>650) this.width=650;" Title= " Test 1.1.png "style=" Float:none; "src=" Http://s3.51cto.com/wyfs02/M02/6E/FA/wKioL1WOKkvgD36zAAFWpVqGzYE489.jpg "alt= "Wkiol1wokkvgd36zaafwpvqgzye489.jpg"/>

I'm pointing the DNS at the secondary this one.

650) this.width=650; "title=" Test 2.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/FD/ Wkiom1wokmxsx0jmaagsjfcwpk0433.jpg "alt=" Wkiom1wokmxsx0jmaagsjfcwpk0433.jpg "/>

650) this.width=650; "title=" Test 2.2.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/FA/ Wkiol1wokopxnzguaac8m-rynf0827.jpg "alt=" Wkiol1wokopxnzguaac8m-rynf0827.jpg "/>

The DNS assistance is now complete! If there is any problem can contact me Oh!

———— Light Rain

This article from "Light Rain Linux" blog, declined reprint!

Linux6.4dns Auxiliary

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.