title: DNSClient is Not able to ping DNSserver by its hostname BUT able to ping by its IP
body: <p>I have Two Linux Machine Redhat &amp; Centos Under Window 7(as host) In Vmware Workstation.
  I configure DNS server &amp; DHCP Server in Redhat(10.0.0.1).</p>
  
  <p>Client which is Centos is able to get IP(10.0.0.30) from DHCP server but it is not picking up name from DNS Server.</p>
  
  <pre><code>Problem is At server 10.0.0.1 i am able to ping itself by hostname like 
  root@server-&gt;ping server.example.com       Ping successfull
  
  But Client is not able to ping Server by Hostname like
  root@localhost-&gt;ping server.example.com   Ping Not Successfull
  
  Client is able to ping Server by its ip like
  root@localhost-&gt;ping 10.0.0.1             Ping Successfull
  </code></pre>
  
  <p><strong>Now My questn is that Why Client is not able to ping server by its hostname &amp; why client is not picking up name from DNS server,</strong></p>