On Sun, 05 Nov 2006 19:33:47 -0500, General Schvantzkoph wrote:
>
>
> I have a DNS server on an FC4 machine. It works fine for resolving
> internet URLs however it doesn't resolve the machine names on my LAN. I've
> been handling this in a brute force way by putting all of my local IPs in
> the /etc/hosts file on each system. That works fine for my Linux systems
> but occasionally I have to boot one of my boxes into Windows and I don't
> know where the Windows equiv of /etc/hosts is. Rather then find out I'd
> like to do it the right way and have my DNS server handle it.
>
> Is there a way to get BIND to read the local /etc/hosts file or failing
> that is there an equivalent file that BIND does read? All I want to do is
> get BIND to resolve the names of my local boxes in the same way as it
> handles URLs.
You will need to setup forward and reverse zones for your local network.
You should be able to get the info off tldp.org. look for the DNS howto.
Bind will not read /etc/hosts file that is what the resolver does.
--
Dancin' in the ruins tonight
Tayo'y Mga Pinoy
|