The construction of DNS forward parsing
Experimental environment
System Environment: centos6.5
- Installing the DNS Environment package rpm-ivh/mnt/packages/bind-9.8.2-0.17.rc1.el6_4.6.x86_64.rpm
- To configure the DNS master configuration file vim/etc/named.conf
- Configuring the Zone Profile Vim/etc/named.rfc1912.zone
- Configuring Zone Data Files
cd/var/named/switch to the default storage location for zone data files
Cp-p named.localhost benet.com.zone reserved owner, belong to group property copy named.localhost file to current folder paste and rename to Benet.com.zone
Vim Benet.com.zone Edit Area Data profile
- Test the positive resolution for a successful build
Nslookup mail.benet.com (if the show command does not exist, install the environment package rpm-ivh/mnt/packages/bind-utils-9.8.2-0.17.rc1.el6_4.6.x86_64. RPM) resolved successfully as shown
Collation script: Baidu Cloud Disk
Bai Xiao Sheng take you to play Linux system service Building series----DNS service building one (forward parsing)