Related configuration caches for BIND applications that provide DNS caching services under Linux

Source: Internet
Author: User

DNS (domain Name System), the Internet as the domain name andIP Addressone of the mutual mappingsDistributed databaseTo make it easier for users to accessInternet, instead of remembering the number of IP strings that can be read directly by the machine. ThroughHostname, the process of eventually getting the IP address for that hostname is called Domain name resolution (or hostname resolution). The DNS protocol runs onUdpprotocol, use the port number 53.



Linux systems provide DNS services and need to install bind applications. Detailed instructions below:

Preparation of the installation configuration: two identical versions of Linux virtual hosts, Yum installs the same version of BIND app

My two virtual machine addresses:

192.100.110.27
192.100.110.28


Bind master configuration file:

/etc/named.conf


/etc/named.rfc1912.zones




One, the DNS cache server.


In a LAN, there are many client PCs, access to the network is the need to use DNS resolution, each server to the root server to send requests, will cause the root server too much pressure, while consuming a lot of bandwidth. In order to solve this problem, establish a DNS cache server in the local area network, the resolution request of each PC can be cached, when the resolution request of the PC in the LAN, there is cache record in the cache server, the resolution request of the PC will go directly to the record of the cache server to find the resolution target.


The cache server listens for external addresses

Find the following in/etcc/named.conf

Listen-on Port 53 {127.0.0.1;};

Join in the rear

192.100.110.27;

As follows: Listen-on port 53 {127.0.0.1;192.100.110.27;};


Will

allow-query {localhost;}; Modified to: allow-query {any;};


Comment on the information:

Dnssec-validation yes;//bindkeys-file "/etc/named.iscdlv.key";//Managed-keys-directory "/var/named/dyn Amic ";



The cache server configuration is complete and the service can be started.



This article is from the Linux Getting Started to architecture blog, so be sure to keep this source http://someonly.blog.51cto.com/8946910/1917047

Related configuration caches for BIND applications that provide the DNS caching service under Linux

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.