Posts

Showing posts with the label dns configuration on centos 7 client machine

DNS Configuration on CentOS Client Machine

Image
DNS Server Configuration on CentOS 7 Client Machine/Red HAT 7 Client Machine Client Configuration: Edit the nameservers and domain name in resolv.conf file by use of vi editor. The file available in /etc directory that is mention below. vi /etc/resolv.conf The lines edit in resolv.conf file is mention below. domain pakistan.local nameserver 192.168.10.215 nameserver 192.168.10.1 We have deploy a DNS Server therefore no need to edit host names in  hosts  file. To check the  hosts  file in Linux client machine type below command. cat /etc/hosts To check the IP configuration settings in Linux client machine type the below command. you can edit the file as per your requirement. cat /etc/sysconfig/network-scripts/ifcfg-ens33 To Check the nameserver resolution in Linux client machine install  bind-utils  package tool to run  nslookup  command. Install  bind-utils  package tool run the below command. yum install bind-utils Bind-utils package to...