What is the view error in the DNS configuration file?

Source: Internet
Author: User
What is the view error in the DNS configuration file? -- Linux general technology-Linux technology and application information. for details, refer to the following section. When I configure the DNS service, named. the conf configuration is correct. it is configured according to the online tutorial. The view option configuration is used to specify the region file of all fields: view; # In the figure is commented out later. After The view option is configured, use named-checkconf named. the conf check syntax prompts you to use the view option, so the region configuration must be in the view, that is, the zones file pointed to by the view.
After the syntax check, everything is correct, but when the named server is restarted, the following error occurs: the attachment failed image, whether to change the include path in the view option to the relative path or for the path, none, but named. the zones file exists in the/var/named/chroot/etc/directory. As shown in the attached named. zones image
I don't know if it's because of chroot?
Later, I had to comment out the view option and add the forward and reverse zone of the domain to be parsed directly at the end of the named. conf configuration file. After the service is restarted, domain name resolution is normal.
Q: What is the role of the view option? is the problem above caused by the use of chroot? However, after I comment out the view option, add it to the positive and negative area options at the end of named. conf. The changed named. conf file is also the original configuration file, that is,/var/named/chroot/etc/named. conf.

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.