Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

DNS problem

Got problems with your B2 or B3? Share and get helped!
Post Reply
vrep
Posts: 22
Joined: 31 Jul 2009, 03:23

DNS problem

Post 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
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: DNS problem

Post 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!
Post Reply