Chris Green wrote:
Within the LAN I the systems have names such as fred.isbd.co.uk (I own the isbd.co.uk domain) which only exist within the LAN and, on the Linux box, are set up in /etc/hosts. Thus there are entries such as:- 192.168.13.5 fred.isbd.co.uk fred
Why don't you run your own nameserver on your LAN and do away with having separate host files on each and every machine for this purpose?
These are very convenient as one can use the short form 'fred' to connect to that machine.
This is quite possible to sort out with resolv.conf and/or Windows boxes rather than having to rely on /etc/hosts.
However there are now some oddities occurring and I'm thinking I may have to change some/all of my hosts file. Firstly PHP keeps using the Linux server box's full name (server.isbd.co.uk) to try and do things and is failing miserably. Secondly for some reason the DNS on the LAN can't find home.isbd.net whereas everyone else in the world can find it and DNS on the LAN works for all other addresses.
What are you using for your DNS resolution on your LAN?
In general what do others here do about naming machines on a small SoHo LAN behind a router? Is there some accepted way of doing it?
Run my own nameserver :)
Regards,
Martyn