Hostname on intranet
Posted
by
user7242
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user7242
Published on 2011-02-25T20:53:14Z
Indexed on
2011/02/25
23:33 UTC
Read the original article
Hit count: 200
I have a test server that is running Ubuntu Server in a windows network.
Networking is configured as follows
auto eth0
iface eth0 inet dhcp
hostname ca
the command cat /etc/hostname
returns ca
.
But when I use the command host 10.49.156.196
(its current IP address) from another machine on the network, it returns as follows:
196.156.49.10.in-addr.arpa domain name pointer owner-pc.xxxxx.xxx
I can access the machine via SSH and browser using IP address, but not by name ca
Any suggestions? I tried installing samba/nmbd as suggested in another post, but to no avail.
© Ask Ubuntu or respective owner