Re: Advanced DNS configuration question....

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

 




Pete Toscano wrote:
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...

Yes, I have a local domain with the names defined in their own zone file. In addition I also have the reverse set up to map IP to name.


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.

Thanks, that didn't seem to work.


May 27 12:34:17 server2 named[20429]: /etc/named.conf:35: expected IP address near 'none'

This entry looks like the following:

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
        forwarders { none; };
};

--
Greg Gulik                                 http://www.gulik.org/greg/
greg @ gulik.org





[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