I have a Debian file server I'm accessing from windows clients. Until a power outage a few days ago I had no issues accessing via hostname. Now I must use the ip handed out by my router. I can ssh (putty) into it via hostname, but cannot ping or access my samba shares with hostname. I have rebooted my router, restarted server and client machines. What gives?
Seems that the server still knows it's hostname - just isn't resolving in some places.
tone@homeserver:~$ hostname
homeserver
tone@homeserver:~$
edit: my router (linksys running dd-wrt) tells me that all my other machines have a hostname mapped, so i strongly suspect the issue is something in the configuration of this particular machine. I also found that the hostname is not resolving anywhere (which is different from my initial statement).
DHCP Clients
Host Name IP Address MAC Address Client Lease Time
Zachs-iPod 192.168.1.116 xx:xx:xx:xx:34:2A 1 day 00:00:00
* 192.168.1.109 xx:xx:xx:xx:A8:A8 1 day 00:00:00
Andrea-PC 192.168.1.118 xx:xx:xx:xx:4D:B3 1 day 00:00:00
tsoutherlandpc 192.168.1.145 xx:xx:xx:xx:0A:34 1 day 00:00:00
Tones-iPhone 192.168.1.139 xx:xx:xx:xx:3D:D4 1 day 00:00:00