Posts

Showing posts with the label Primay DNS Server

Primary DNS Server in CentOS 6 (without chroot)

Objective We would be configuring the primary DNS Server for the domain testdom.inv (yes, the top level domain is inv i.e. 'invalid').  The FQDN (Fully Qualified Domain Name) of the server is ns1.testdom.inv . This is a simulation , so you better get your Server off the Internet- make sure the Server does not have any real IP make sure that the file /etc/resolv.conf does not contain any IP address of a valid DNS Server. Here is the IP Database DNS Server 192.168.1.13 Web Server 192.168.1.12 FTP Server 192.168.1.11 Procedure Phase1: The first thing when it comes to configuring any Server is setting up the hostname of the Server properly. We have to modify the following lines in the mentioned files - [root@centu ~]# vim /etc/sysconfig/network HOSTNAME=ns1.testdom.inv [root@centu ~]# vim /etc/hosts 192.168.1.13 ns1.testdom.inv ns1 Changing hostname like this sometimes takes effect...