LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Networking via HOSTNAME over DHCP network (https://www.linuxquestions.org/questions/linux-networking-3/networking-via-hostname-over-dhcp-network-392915/)

tsphan 12-14-2005 07:01 PM

Networking via HOSTNAME over DHCP network
 
What I would like is to be able to do is to use another computer's hostname as an IP address. So that when I ping for example: "ping exodia", it'll return as pinging 192.168.0.3 instead of stating it was an unknown host. On my network are six computers, including myself. There are four windows computers. They can ping any computer on the network with the host name and it'll work. From what I've seen, this can be done on Linux using the DNS server configurations. Yet, on this network, we're all connected to the very same DNS server and the Linux computers cannot ping via a hostname. When I restart my computer to Windows, I'm able to ping the other host computers.

So I'm wondering if the ability on Windows is simply because of the NetBIOS settings, or something is faulty with my DNS configurations.

winsnomore 12-14-2005 08:24 PM

if you had a nameserver on your network ... it would be work as is.

tsphan 12-14-2005 10:56 PM

the problem is that the DNS IS running and i'm connected to it, but it's not registering on my computer.

abakali 12-14-2005 11:56 PM

create forword reverse lookup zone and enable SMB service

pingu 12-15-2005 07:42 AM

I had the same problem in an AD-domain, I had to add wins servers to my samba-configuration.
I believe that if Windows-computers uses WINS then you can't find them by FQDN only NetBios-name - pretty strange?
But that's what I did, added
wins server = 192.168.0.1 192.168.0.2
in /etc/samba/smb.conf


All times are GMT -5. The time now is 07:33 PM.