On Mon, Aug 11, 2008 at 10:47 AM, Roger Searle <[EMAIL PROTECTED]> wrote: > > Nick Rout wrote: >>> >>> What would be the best way of providing dns for the local network - can >>> IPCop do it? If so how? I'm missing something... >>> >> >> yes, allocate all the machines a fixed ip address via dhcp, and put >> all the host names into hosts (this is all done via the ipcop gui). >> >> > > ok thanks - i was partly doing that before. i'll do that for all the > machines now. > so is this all that needs to be done for having dnsmasq via ipcop? the > documentation is sketchy (or i didn't look in the right place) on this. > >
dnsmasq is supposed to be able to resolve hostnames simply by having dished an ip address to the dhcp client, but I don't find it reliable[1]. I am not sure why, so I set it up the way I described above, and it worked fine. A tiny bit more work, but not unless you are constantly adding new machines. [1] not sure why this is, but I suspect its to do with whether the client machine provides a hostname when negotiating its dhcp transaction ,but I don't know enough to work it all out, and setting up pre-allocated IP addresses and the hosts file worked well, so didn't bother to find out.
