Networking :: Hostname resolving in a mixed network (Linux, Win)



Hello!
I have a question concerning hostname resolving. My DSL box runs on a network with many windows workstations (windows domain) attached. Until now I always used the ip adress to access it (ping, httpd etc.).

But I discovered that my windows machine can also find it by using the hostname. How does windows do that? Does DSL register somewhere in the windows network during boot?

Regards
Bert

The base dsl system has the samba (windows networking) configuration file, smb.conf, and a couple of other samba bits & pieces (eg smbtree?) - is the hostname you see in smb.conf?
Here the first lines of /etc/samba/smb.conf:
[global]
  workgroup = fake
  server string = %h server (Samba %v)
;   wins support = no
;   wins server = w.x.y.z
  dns proxy = no
;   name resolve order = lmhosts host wins bcast

But I do not start samba explicitly. And the samba server is not installed (I think it is an extra package.)

B.t.w. I did not change the default hostname. It is still 'box'. An the domain name is obtained by dhcp.

Ah - OK, I wasn't at a dsl machine so I couldn't check that. After checking, all I could see in the base system samba-wise was /usr/bin/smbclient & smbtree.

You're right, samba is a mydsl extension.

Afaik this is part of a standard network... part of DHCP... so it would depend on your network setup/servers.
Next Page...
original here.