Installing DNS domain name resolution service under Linux system
The steps are as follows:
1> view hangs in mirror location
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/7F/D5/wKiom1cvCC6iXxMJAACYeQteKPw702.png "title=" image. png "alt=" Wkiom1cvcc6ixxmjaacyeqtekpw702.png "/>
2> to see if the disc is mounted
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/7F/D6/wKiom1cvEcqwO6-HAACsZIpFOwI823.png "title=" optical drive. png "alt=" Wkiom1cvecqwo6-haacszipfowi823.png "/>
3> see where you need to hang
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/D3/wKioL1cvCnjA7sYDAAA2jbNSnI0573.png "title=" View the Mount location. png "alt=" Wkiol1cvcnja7sydaaa2jbnsni0573.png "/>
4> to Mount
[Email protected] mnt]# mount/dev/sr0/mnt
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/7F/D3/wKioL1cvC5LwOHfBAABkGNVAcqw887.jpg "title=" mount. jpg "alt=" Wkiol1cvc5lwohfbaabkgnvacqw887.jpg "/>
5> into the Mounted folder for installation
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/D3/wKioL1cvDGKAxutYAACPdRVAlBw781.png "style=" float: none; "title=" hangs in folder. png "alt=" Wkiol1cvdgkaxutyaacpdrvalbw781.png "/>
Use the RPM command to filter software that has the beginning of bind
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/7F/D3/wKioL1cvDGPQTPrjAACWmfEDoYA418.jpg "style=" float: none; "Title=" rpm filter. jpg "alt=" wkiol1cvdgpqtprjaacwmfedoya418.jpg "/>
Install software that begins with bind
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7F/D5/wKiom1cvC4jjAHT9AAEUwr9pCQM392.jpg "style=" float: none; "Title=" rpm installation. jpg "alt=" wkiom1cvc4jjaht9aaeuwr9pcqm392.jpg "/>
Filtering software that begins with bind
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7F/D3/wKioL1cvDGTCeYzcAACmbAQqWu8799.jpg "style=" float: none; "title=" After installation rpm filter. jpg "alt=" wkiol1cvdgtceyzcaacmbaqqwu8799.jpg "/>
Note: bind-utils and bind-libs are installed by default , so you only need to install bind and bind-chroot.
6> Configuring the DNS address
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/D3/wKioL1cvDWTjBVBCAAA8Rr7Hv8w055.png "title=" Configure Dns.png "alt=" Wkiol1cvdwtjbvbcaaa8rr7hv8w055.png "/>
7> Modifying the master configuration file
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/D3/wKioL1cvDbuzOPNQAAB4KU-SWn4467.png "style=" float: none; "title=" modifies Named.conf.png "alt=" Wkiol1cvdbuzopnqaab4ku-swn4467.png "/>
To configure a forward lookup zone
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/D5/wKiom1cvDOCS49zyAAAilj4SGCU761.png "style=" float: none; "title=" Forward lookup zone. png "alt=" Wkiom1cvdocs49zyaaailj4sgcu761.png "/>
Configure Reverse lookup Zones
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/D5/wKiom1cvDOCyjWQkAAA1ZnagBg4506.png "style=" float: none; "title=" Reverse lookup zone. png "alt=" Wkiom1cvdocyjwqkaaa1znagbg4506.png "/>
8> Modifying a zone resolution file
[Email protected]/]# cd/var/named
[Email protected] named]# LS-LH
Total dosage 40K
Drwxr-x---. 6 root named 4.0K 3 months 14:17 chroot
DRWXRWX---. 2 named named 4.0K 4 month 1415:11 data
DRWXRWX---. 2 named named 4.0K 4 month 1415:37 dynamic
-rw-r-----. 1 root named 1.9K 2 months named.ca
-rw-r-----. 1 root named Named.empty
-rw-r-----. 1 root named 6 months 212007 named.localhost
-rw-r-----. 1 root named 168 month Named.loopback
DRWXRWX---. 2 named named 4.0K 8 month 142013 slaves
[Email protected] named]# cp-p Named.localhostbenet.com.zone
[Email protected] named]# cp-p named.localback benet.com.none
Note:-P refers to maintaining the original properties.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7F/D5/wKiom1cvD6ngNE_XAAA3uwF9ugo051.png "style=" float: none; the "title=" is parsing the file to the zone. png "alt=" Wkiom1cvd6ngne_xaaa3uwf9ugo051.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/D5/wKiom1cvD6mCfVtUAAAxH7v_rfg159.png "style=" float: none; "title=" Reverse parse file. png "alt=" Wkiom1cvd6mcfvtuaaaxh7v_rfg159.png "/>
9> Start named service
[[Email protected] named]# service named start
start named:named: Running [ OK ]
Can be started to indicate that the DNS service can be run.
Validation parsing:
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/D3/wKioL1cvEY3z1O0PAAAoEiUHkus434.png "title=" QQ picture 20160508180944.png "alt=" Wkiol1cvey3z1o0paaaoeiuhkus434.png "/>
This article is from "Little Arui Blog" blog, please be sure to keep this source http://980926.blog.51cto.com/11458310/1771233
Linux system installation DNS domain name Resolution Service