Cannot ping Linux / UNIX / Windows server by name but can ping by its IP address

Posted on in Categories , , , , , , , , , , last updated October 8, 2007

Q. I have Debian Linux server in remote data center. I can ping server by its IP but not by hostname such as server.domain.com. How do I ping server by hostname?

A. This is client side DNS problem. All you have to do is setup correct DNS server:

=> Linux DNS Client Configuration

=> Solaris DNS Client Configuration

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

3 comment

Leave a Comment