DNS Strangeness on B2 [Bug Report - bad line in hosts file]
Posted: 24 Apr 2010, 10:16
The last few months after the odd occasion I've had to reboot my B2, I've been unable to ping it by it's hostname without loads of kludging.
For e.g. My B2's hostname is "server". From a client PC, accessing the B2 via DNS works OK (I can ping the hostname "server", I can mount samba shares etc etc.).
If I have to reboot, suddenly returns an address of 127.0.0.1 from whatever client I do it from (I'm aware this is the localhost address).
I don't know how I fix it but it usually resolves itself with a few reboots of the Bubba and my PCs in different orders.
However, after a power cut earlier this week I haven't been able to fix it this time.
At the moment, and both return the localhost address but returns the correct IP address.
My client PCs all use Ubuntu which doesn't have a DNS cache, so that's not the problem. Also trying to browse to http:/server/admin from my iPhone doesn't work any more, I end up getting redirected to http://www.server.com.
Seems to me there's some kind of issue with dnsmasq. The conf file is pretty simple and I can't see anything wrong with it.
Does anyone see a similar issue or is it just me?
Darren.
For e.g. My B2's hostname is "server". From a client PC, accessing the B2 via DNS works OK (I can ping the hostname "server", I can mount samba shares etc etc.).
If I have to reboot, suddenly
Code: Select all
ping server
I don't know how I fix it but it usually resolves itself with a few reboots of the Bubba and my PCs in different orders.
However, after a power cut earlier this week I haven't been able to fix it this time.
At the moment,
Code: Select all
ping server
Code: Select all
ping server.localdomain
Code: Select all
ping server.local
My client PCs all use Ubuntu which doesn't have a DNS cache, so that's not the problem. Also trying to browse to http:/server/admin from my iPhone doesn't work any more, I end up getting redirected to http://www.server.com.
Seems to me there's some kind of issue with dnsmasq. The conf file is pretty simple and I can't see anything wrong with it.
Does anyone see a similar issue or is it just me?
Darren.