Setting Up DNS Server On Cent. OS 7. DNS, stands for Domain Name System, translates hostnames or URLs into IP addresses. For example, if we type www. DNS server translates the domain name into its associated ip address. Since the IP addresses are hard to remember all time, DNS servers are used to translate the hostnames like www. So it makes easy to remember the domain names instead of its IP address. This detailed tutorial will help you to set up a local DNS server on your Cent. OS 7 system. However, the steps are applicable for setting up DNS server on RHEL and Scientific Linux 7 too. Scenario. For the purpose of this tutorial, I will be using three nodes. One will be acting as Master DNS server, the second system will be acting as Secondary DNS, and the third will be our DNS client. Here are my three systems details. Primary (Master) DNS Server Details: Operating System : Cent. OS 7 minimal server. Hostname : masterdns. IP Address : 1. Secondary (Slave) DNS Server Details: Operating System : Cent. OS 7 minimal server. Hostname : secondarydns.
This chapter steps through the process of installing either Red Hat Enterprise Linux or Fedora Core. Frequently, the installation is quite simple, especially if you. How to set up a mail server on a GNU / Linux system Step by step guide to install Postfix Ubuntu + Postfix + Courier/Dovecot IMAP + MySQL + Amavisd-new + SpamAssassin. IP Address : 1. Client Details: Operating System : Cent. OS 6. 5 Desktop. Hostname : client. IP Address : 1. Setup Primary (Master) DNS Server. Install bind. 9 packages on your server. Configure DNS Server. Edit . Failing to do so will. DNS amplification. Implementing BCP3. Path to ISC DLV key */. Create Zone files. Create forward and reverse zone files which we mentioned in the . This blog article focuses on configuring VirtualBox to create a new VM for Oracle Linux 7 and installing Oracle Linux 7 from the ISO image as a guest operating system. How to configure dns server in Linux step by step Guide, how to configure linux dns server step by step guide example and implementation. In this article we will explain how to install and test the LAMP stack on Debian 9 to host brand new web servers on top of Stretch using the recent updates. Start the DNS service. Enable and start DNS service: systemctl enable named. Firewall Configuration. We must allow the DNS service default port 5. Restart Firewallfirewall- cmd - -reload. Configuring Permissions, Ownership, and SELinux. Run the following commands one by one: chgrp named - R /var/namedchown - v root: named /etc/named. Test DNS configuration and zone files for any syntax errors. Check DNS default configuration file: named- checkconf /etc/named. If it returns nothing, your configuration file is valid. Check Forward zone: named- checkzone unixmen. Sample output: zone unixmen. IN: loaded serial 2. OKCheck reverse zone: named- checkzone unixmen. Sample Output: zone unixmen. IN: loaded serial 2. OKAdd the DNS Server details in your network interface config file. TYPE=. Test DNS Serverdig masterdns. Sample Output: ; < < > > Di. G 9. 9. 4- Red. Hat- 9. HEADER< < - opcode: QUERY, status: NOERROR, id: 2. QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2. OPT PSEUDOSECTION. EDNS: version: 0, flags: ; udp: 4. QUESTION SECTION. IN A 1. 92. AUTHORITY SECTION. IN A 1. 92. Query time: 0 msec. SERVER: 1. 92. 1. WHEN: Wed Aug 2. 0 1. IST 2. 01. 4. ; ; MSG SIZE rcvd: 1. Sample Output: Server: 1. Address: 1. 92. Name: unixmen. Address: 1. 92. 1. Name: unixmen. Address: 1. 92. 1. Name: unixmen. Address: 1. 92. 1. Now the Primary DNS server is ready to use. It is time to configure our Secondary DNS server. Setup Secondary(Slave) DNS Server. Install bind packages using the following command: yum install bind bind- utils - y. Configure Slave DNS Server. Edit file . Start the DNS Servicesystemctl enable named. Now the forward and reverse zones are automatically replicated from Master DNS server to . Add the DNS Server details. Add the DNS Server details in your network interface config file. TYPE=. Firewall Configuration. We must allow the DNS service default port 5. Restart Firewallfirewall- cmd - -reload. Configuring Permissions, Ownership, and SELinuxchgrp named - R /var/namedchown - v root: named /etc/named. Test DNS Serverdig masterdns. Sample Output: ; < < > > Di. G 9. 9. 4- Red. Hat- 9. HEADER< < - opcode: QUERY, status: NOERROR, id: 1. QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2. OPT PSEUDOSECTION. EDNS: version: 0, flags: ; udp: 4. QUESTION SECTION. IN A 1. 92. AUTHORITY SECTION. IN A 1. 92. Query time: 0 msec. SERVER: 1. 92. 1. WHEN: Wed Aug 2. 0 1. IST 2. 01. 4. ; ; MSG SIZE rcvd: 1. Sample Output: ; < < > > Di. G 9. 9. 4- Red. Hat- 9. HEADER< < - opcode: QUERY, status: NOERROR, id: 6. QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2. OPT PSEUDOSECTION. EDNS: version: 0, flags: ; udp: 4. QUESTION SECTION. IN A 1. 92. AUTHORITY SECTION. IN A 1. 92. Query time: 0 msec. SERVER: 1. 92. 1. WHEN: Wed Aug 2. 0 1. IST 2. 01. 4. ; ; MSG SIZE rcvd: 1. Sample Output: Server: 1. Address: 1. 92. Name: unixmen. Address: 1. 92. 1. Name: unixmen. Address: 1. 92. 1. Name: unixmen. Address: 1. 92. 1. Client Side Configuration. Add the DNS server details in . The primary and secondary DNS servers are ready to use. If you want to setup DNS server on Ubuntu systems, check the following link.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2017
Categories |