Page 1 of 1

DNS problem

Posted: 26 Jul 2011, 07:48
by vrep
Hi everybody,

I have a strange problem with my B2. Every now and then, the hostname doesn't resolve properly anymore from my LAN. The hostname is "mybubba" and it's IP address is 192.168.1.51. My router is the DHCP server, so the B2 only serves as a local server (file, Squeezebox, etc.).

The problem occurs when I try to access anything on the B2 by hostname. Website, terminal login, and AFP fail when using the hostname, but work when I use the IP address.

What could be the problem? Is there a way to solve this without restarting my B2 or the router?

Thanks,
Michiel

Re: DNS problem

Posted: 27 Jul 2011, 13:34
by Ubi
This is a common problem with WINS. My advice would be to hardcode the name into the hosts file of your client computer (i.e. your laptop/desktop). For windows this file is located on

Code: Select all

%SystemRoot%\system32\drivers\etc\hosts
At the end of this file, add the following line:

Code: Select all

192.168.1.51 mybubba
more info on
* http://en.wikipedia.org/wiki/Windows_In ... me_Service
* http://en.wikipedia.org/wiki/Hosts_(file)

good luck!