Red Hat 7.0 DNS service configuration note

Source: Internet
Author: User


  1. Mount the image first, then configure Yum, then install the Yum install-y bind
  2. Configure the static IP. DNS is his own IP address.
  3. Modify the DNS configuration file and add the zone configuration information later. Vim/etc/named.conf
  4.  zone  "tcbuu.cn"  in {         type master;         file  " tcbuu.cn.zone "; zone  "227.168.192.in-addr.arpa"  in {         type master;         file  " 227.168.192.in-addr.arpa.zone ";   5. Create two files with the same name as the configuration file under the/var/named/path 6. You can directly copy the two sample files in the/var/named/directory for modification
  5. Cp-p Named.loopback 227.168.192.in-addr.arpa.zone
  6. Cp-p Named.localhost Tcbuu.cn.zone
  7. tcbuu.cn.zone
$TTL 1D
@ in SOA tcbuu.com. root.tcbuu.com. (
0; Serial
1D; Refresh
1H; retry
1W; expire
3H); Minimum
NS www.tcbuu.com.
www A 172.16.100.192
 8.227.168.192.in-addr.arpa.zone
 
$TTL 1D
@ in SOA 100.16.172.in-addr.arpa. root.tcbuu.com. (
0; Serial
1D; Refresh
1H; retry
1W; expire
3H); Minimum
@ NS www.tcbuu.com.
A 127.0.0.1
AAAA:: 1
195 PTR www.tcbuu.com.
 9.vi/etc/resolv.conf Changing the DNS address to native IP10.service named restart Restart Service Test    


Red Hat 7.0 DNS service configuration note


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.