Lets say I have 2 servers. They are on the same network, same subnet and the same domain. Everything is same.
server1.something.internal -> 10.0.0.1 server2.something.internal -> 10.0.0.2
So my question is Why can't I ping hosts by their fqdn? Instead of using ips I want to connect hosts by using their host and domain names
root@server1:~# ping server2.something.internal ping: unknown host server2.something.internal
Hosts are Debian 6.0. Hostnames and domain names are set correctly. There is no dns or dhcp server on the network.Ips are set to static.
Here is the
etc/resolv.conf of both servers
domain something.internal search something.internal nameserver 18.104.22.168