Re: Advanced DNS configuration question....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 May 2003, Gregory Gulik wrote:

> So, since I have my own name servers to serve local host names to my 
> local network I need to configure BIND to return local host names but 
> for external host names I need it to send queries to the router itself, 
> otherwise it's not able to resolve external host names.

Greg,

Are your local names in their own zone?  If so, then check out using
"forwarders" and "forward".  I'm not forwarding DNS queries by default
in my configs, but something like this probably would work...

##############################
options {
        ...
        forwarders { IP_1; IP_2; etc; };
        forward only;
        ...
};

...
zone "localzone" {
        type master;
        file "localzone";
        forwarders { none; };
};
...

##############################

Specifying "none" for forwarders in the localzone section should turn
off forwarding for the localzone zone.  If that doesn't work, I'm sure
there's some slight variation that should.  Check out the BIND
Administrator Reference Manual
(file:///usr/share/doc/bind-9.2.1/arm/Bv9ARM.html on my RH9 system),
section 6.2.14.2.

HTH,
pete




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux