Resolving Hostnames on a LAN in Windows or Linux

preview_player
Показать описание
A viewer question lead Robbie to discuss avahi-daemon (ability for Linux to respond to local hostnames) and libnss-mdns (ability for Linux to understand local hostnames), and the hosts file (Windows and Linux "hacky" way of forcing hostnames to resolve even if DNS doesn't work).
Рекомендации по теме
Комментарии
Автор

Lol. I was the one who asked this question. I remember I was playing around with xen server. Recently I've been running FreeNAS as my file server and decided to switch to Ubuntu server with samba. For some reason my samba server was not showing up under "networks" in Windows or Linux till I install avahi-daemon

christopherkevinlee
Автор

is there a way my whole lan can ping the hostname without editing the hosts file in windows?

cuypers
Автор

I used avahi with Mint/xfce to another Mint/xfce and was
able to see it then connect with hostname. I just installed
Debian on one of them, moved the
example ssh/sftp files to /etc/avahi/.... as before. I can see it
and connect with IP, but not with host. I put it in the hosts
file and it connects, but I don't care to depend on that.

What could be the problem? I also made sure I had that lib..whatever.

halp..

weedeater
Автор

What's up with all the thumbs down (hate)? It's a decent quick intro to Avahi/mDNS. You caught Sasha totally off guard when you put on her the spot tho.

j.f.