On Sun, Apr 06, 2003 at 04:10:45PM +0000, Clive Menzies wrote:
Hi Reaz
I've got the nameservers in resolv.conf and so resolving public IP's
is
fine. It's the hosts on the local network that don't resolve. I
tried
including the DHCP server's IP address as a name server but that gave
some strange errors and didn't help.
I've also got the nameservers referred to in dhcpd.conf.
I'm sure I'm missing something obvious ;-)
Not really; you are missing something complicated:
1. If you want your internal machines to be able to look each other up
via dns queries, you need to run a nameserver on one of those
machines and then have all of your machines point to that one as a
nameserver.
2. This internal nameserver must forward queries for external domains
to an external nameserver.
3. Since you want the internal names and IP addresses to be dynamic,
the internal nameserver must allow the dhcp server to provide
dynamic updates to it.
I think that one way to accomplish all of this is to use a combination
of bind 8 and dhcp-dns. I have not done this so I cannot help any
further.
Good luck,
-- Mark