Options parameters in the/etc/named/named.conf.options

Source: Internet
Author: User

Listen-on Port: (any;}; Monitor which network interface is on top of this host system. The default is to listen in localhost, that is, only this machine can query the DNS service, it is certainly unreasonable ah! So here we have to rewrite the data in curly braces into any. Remember, because you can listen to a number of interfaces, so any after the need to add a semicolon to the end Oh! In addition, this project is not related if you forget to write, because the default is to listen to all the interfaces of the entire host system.  directory "/var/named" means that if there is a zone file name that is normalized to a positive and inverse solution under this file, the file name should be placed under which directory. Presets are placed under the/var/named/. Due to the chroot relationship, these database files will eventually be actively linked to the/var/named/chroot/var/named/directory.  dump-file, Statistics-file, Memstatistics-file and named a lot of statistical information about the service, if you want to export to the file, the default file name is as described above. Brother Bird himself seldom look at these statistics, so, these three set values write not write should have no relationship.  allow-query {any;}; This is the user-side settings, in the end who can make a query request for my DNS service meaning. The original file content preset is for localhost open only, we are here to open to all users (of course, the firewall must be released only). However, the default DNS is for all users to release, so this setting value can also not write.  forward only; This setting allows your DNS server to be forward only, even if there is one. The settings for this zone file are not used. Information, will only give the query right to the upper DNS server only, is the most common cache only DNS settings!  forwarders {168.95.1.1; 139.175.10.20; Since there is forward only, which upper DNS server should be forwarded? That's the importance of forwarders (don't forget that s) set value! You can set up multiple upper-level DNS servers because you are concerned that the upper DNS servers may also hang up. Each forwarder server IP needs to have "; "To do as the end!"  allow-transfer (none;}; Whether to allow from SLave DNS to my entire domain data transfer? This setting is related to the database transfer between the Master/slave DNS servers. Unless you have a slave DNS server, don't open it here! So here we set the first to none.

Options parameters in/etc/named/named.conf.options

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.