Centos dns configuration file




















It allows you to lookup domain names to IP addresses, as well as do reverse lookups of IP addresses to get domain names, in some cases. DNS server contains database of public IP addresses and domain names for lookups and domain name resolution.

It reduces domain lookup time and improves browsing speed. Our server name is ns1. Open terminal and run the following command to install it. By default BIND listens to localhost. We will change it to listen to an IP address so that other systems can communicate with it. Open its configuration file in a text editor. Next add your network in the configuration file so that BIND will allow queries from your network.

Replace I will also show you how to configure DNS client. On our both Host CentOS7 should be install. You can see below Host details You can see above our DNS server working properly. Skip to content. And add this line which is show in bold. Failing to do so will cause your server to become part of large scale DNS amplification attacks. We need create file forward.

Add the following lines in forward. Add the following lines in reverse. We need to enable default port 53 for DNS service on from Linux firewall side.



0コメント

  • 1000 / 1000