12th Chapter Linux DNS domain name resolution

Source: Internet
Author: User
Tags domain name server

Experimental requirements:

N Primary name server address is ns1.benet.com (173.16.16.5)

N from the domain name server address of ns2.benet.com (173.16.16.6)

N the following parsing records are provided for the benet.com,accp.com regions.

L M ail.benet.com(123.45.67.89), ftp.benet.com (123.45.67.90)

L www.benet.com (123.45.67.88),*.benet.com (123.45.67.88)

L www.accp.com (58.109.87.65) ,forum.accp.com (58.109.87.66)

N provides reverse resolution for www,mail,FTP sites in the benet.com zone .

First, Set IP address

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/D4/wKioL1gfJ5yBYbyYAAA6WDcsTgg193.jpg-wh_500x0-wm_3 -wmp_4-s_3867983319.jpg "title=" image 1.jpg "alt=" wkiol1gfj5ybybyyaaa6wdcstgg193.jpg-wh_50 "/>

Second, Host name

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/D7/wKiom1gfJ6yy81rOAAA1-XpI_HQ683.jpg-wh_500x0-wm_3 -wmp_4-s_3475346622.jpg "title=" image 2.jpg "alt=" wkiom1gfj6yy81roaaa1-xpi_hq683.jpg-wh_50 "/>

Third, Mapping Records

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/D7/wKiom1gfJ7vCqe4uAAB_UpZAOAA084.jpg-wh_500x0-wm_3 -wmp_4-s_1717162105.jpg "title=" image 3.jpg "alt=" wkiom1gfj7vcqe4uaab_upzaoaa084.jpg-wh_50 "/>

Four, Mount

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/D4/wKioL1gfJ9TAaGr7AAA6gFvxfDc301.jpg-wh_500x0-wm_3 -wmp_4-s_249650254.jpg "title=" image 4.jpg "alt=" wkiol1gfj9taagr7aaa6gfvxfdc301.jpg-wh_50 "/>

Five, Installation

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/D4/wKioL1gfJ-Wi92xQAACBIue_oq0330.jpg-wh_500x0-wm_3 -wmp_4-s_1138659088.jpg "title=" image 5.jpg "alt=" wkiol1gfj-wi92xqaacbiue_oq0330.jpg-wh_50 "/>

Six, Configuration

1. Backup

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/D7/wKiom1gfJ_XSK2CsAABNdfuQZBw359.jpg-wh_500x0-wm_3 -wmp_4-s_1731263567.jpg "title=" image 6.jpg "alt=" wkiom1gfj_xsk2csaabndfuqzbw359.jpg-wh_50 "/>

2. Global configuration

, 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02/89/D7/wKiom1gfKAOBKCZUAACQHf_J-Ao973.jpg-wh_500x0-wm_ 3-wmp_4-s_3986241131.jpg "title=" image 7.jpg "alt=" Wkiom1gfkaobkczuaacqhf_j-ao973.jpg-wh_50 "/>

3. Regional Settings

B enet.com

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/D4/wKioL1gfKBbCGSAwAABdsCd_-lw944.jpg-wh_500x0-wm_3 -wmp_4-s_881509834.jpg "title=" image 8.jpg "alt=" wkiol1gfkbbcgsawaabdscd_-lw944.jpg-wh_50 "/>

4. Edit benet.com.zone

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/D7/wKiom1gfKCWjleBAAAB-1gOg7vU133.jpg-wh_500x0-wm_3 -wmp_4-s_3646592268.jpg "title=" image 9.jpg "alt=" wkiom1gfkcwjlebaaab-1gog7vu133.jpg-wh_50 "/>

5. Permission Settings

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/89/D4/wKioL1gfKDXhZqLRAABb0vzwsGA355.jpg-wh_500x0-wm_3 -wmp_4-s_876025023.jpg "title=" image 10.jpg "alt=" wkiol1gfkdxhzqlraabb0vzwsga355.jpg-wh_50 "/>

6. Add Host record

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/D7/wKiom1gfKFSy0YRiAACK_6SaolQ731.jpg-wh_500x0-wm_3 -wmp_4-s_3285665053.jpg "title=" image 11.jpg "alt=" wkiom1gfkfsy0yriaack_6saolq731.jpg-wh_50 "/>

7. accp.com Scope

add scope and add benets steps above same

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/89/D4/wKioL1gfKGizZYWPAABrJRcPqNk777.jpg-wh_500x0-wm_3 -wmp_4-s_617816735.jpg "title=" image 12.jpg "alt=" wkiol1gfkgizzywpaabrjrcpqnk777.jpg-wh_50 "/>650) this.width= 650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/D4/wKioL1gfKHjREdpxAABtFIgfZLI417.jpg-wh_500x0-wm_3-wmp_4-s_ 36034927.jpg "title=" image 13.jpg "alt=" wkiol1gfkhjredpxaabtfigfzli417.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/89/D4/wKioL1gfKLLCCs0BAABRRRHkmW4841.jpg-wh_500x0-wm_3 -wmp_4-s_1547019458.jpg "title=" image 14.jpg "alt=" wkiol1gfkllccs0baabrrrhkmw4841.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/89/D4/wKioL1gfKMDQUS01AABuvYQ9olU833.jpg-wh_500x0-wm_3 -wmp_4-s_3528557245.jpg "title=" image 15.jpg "alt=" wkiol1gfkmdqus01aabuvyq9olu833.jpg-wh_50 "/>

8. Turn off firewall and selinux

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/D4/wKioL1gfKNLAD6vLAABMjIhGz0g222.jpg-wh_500x0-wm_3 -wmp_4-s_1843834036.jpg "title=" image 16.jpg "alt=" wkiol1gfknlad6vlaabmjihgz0g222.jpg-wh_50 "/>

9. Verification Analysis

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/D5/wKioL1gfL3aQz0RQAAAsclU5lqo341.jpg-wh_500x0-wm_3 -wmp_4-s_1609877313.jpg "title=" image 18.jpg "alt=" wkiol1gfl3aqz0rqaaasclu5lqo341.jpg-wh_50 "/>650) this.width=650;" Src= "http://s4.51cto.com/wyfs02/M00/89/D8/wKiom1gfL4SxO_p_AAAs7QmmVok726.jpg-wh_500x0-wm_3-wmp_4-s_1880137053. JPG "title=" image 19.jpg "alt=" Wkiom1gfl4sxo_p_aaas7qmmvok726.jpg-wh_50 "/>

Seven, DNS2 configuration

Shutting down the firewall

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/89/D5/wKioL1gfMITS_ahoAABl_pqTI1o302.jpg-wh_500x0-wm_3 -wmp_4-s_847716757.jpg "title=" Picture 9.jpg "style=" Float:none; "alt=" Wkiol1gfmits_ahoaabl_pqti1o302.jpg-wh_50 "/>

Set the IP address and host name

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/D8/wKiom1gfMIGRPFo0AABO8A3NcIY765.jpg-wh_500x0-wm_3 -wmp_4-s_692798226.jpg "style=" Float:none; "title=" Picture 4.jpg "alt=" Wkiom1gfmigrpfo0aabo8a3nciy765.jpg-wh_50 "/>

Installing the DNS Service

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/D5/wKioL1gfMIKxTMQUAABvVq8xak8095.jpg-wh_500x0-wm_3 -wmp_4-s_1677502058.jpg "style=" Float:none; "title=" Picture 5.jpg "alt=" Wkiol1gfmikxtmquaabvvq8xak8095.jpg-wh_50 "/>

To back up the master configuration file

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/D8/wKiom1gfMILRH1nYAABSYTTmWKo830.jpg-wh_500x0-wm_3 -wmp_4-s_1677546581.jpg "style=" Float:none; "title=" Picture 6.jpg "alt=" Wkiom1gfmilrh1nyaabsyttmwko830.jpg-wh_50 "/>

Global configuration

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/D5/wKioL1gfMILRbd3pAABdvpe25Wc554.jpg-wh_500x0-wm_3 -wmp_4-s_4100430080.jpg "style=" Float:none; "title=" Picture 7.jpg "alt=" Wkiol1gfmilrbd3paabdvpe25wc554.jpg-wh_50 "/>

From server configuration

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/D8/wKiom1gfMIOT6PgdAAAx85nK9hY521.jpg-wh_500x0-wm_3 -wmp_4-s_3579918885.jpg "style=" Float:none; "title=" Picture 8.jpg "alt=" Wkiom1gfmiot6pgdaaax85nk9hy521.jpg-wh_50 "/>

Verifying forward parsing

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/D8/wKiom1gfMIXDTCOWAABKVaduaf0083.jpg-wh_500x0-wm_3 -wmp_4-s_983849203.jpg "style=" Float:none; "title=" Picture 10.jpg "alt=" Wkiom1gfmixdtcowaabkvaduaf0083.jpg-wh_50 "/>

Eight set reverse resolution

DNS1 setting a reverse scope file

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/89/D5/wKioL1gfMIbDvUxGAAB9JD_InRY933.jpg-wh_500x0-wm_3 -wmp_4-s_1118980597.jpg "style=" Float:none; "title=" Picture 11.jpg "alt=" Wkiol1gfmibdvuxgaab9jd_inry933.jpg-wh_50 "/>

Configuration file

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/D8/wKiom1gfMIfQ84TMAABbPo6JXZY487.jpg-wh_500x0-wm_3 -wmp_4-s_3868245238.jpg "style=" Float:none; "title=" Picture 12.jpg "alt=" Wkiom1gfmifq84tmaabbpo6jxzy487.jpg-wh_50 "/>

Zone Configuration (Note: Scope IP address range)

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/D5/wKioL1gfMIiCYzPTAABQVEQZ53Y291.jpg-wh_500x0-wm_3 -wmp_4-s_4237164267.jpg "style=" Float:none; "title=" Picture 13.jpg "alt=" Wkiol1gfmiicyzptaabqveqz53y291.jpg-wh_50 "/>

Restart Service

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/D8/wKiom1gfMIjR2-3bAAAxzb7V-qc344.jpg-wh_500x0-wm_3 -wmp_4-s_1581988476.jpg "style=" Float:none; "title=" Picture 14.jpg "alt=" Wkiom1gfmijr2-3baaaxzb7v-qc344.jpg-wh_50 "/>

Verifying reverse parsing

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/D5/wKioL1gfMtmyvO8MAAA89gCzW10411.jpg-wh_500x0-wm_3 -wmp_4-s_1161289448.jpg "title=" image 20.jpg "alt=" Wkiol1gfmtmyvo8maaa89gczw10411.jpg-wh_50 "/>



12th Chapter Linux DNS domain name resolution

Related Article

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.