Re: Centos 6 - named with internal zone file and forwarding

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



On 21/10/2011 16:27, Les Mikesell wrote:
On Fri, Oct 21, 2011 at 4:12 AM, Giles Coochey<giles@xxxxxxxxxxx>  wrote:
I have two Centos 6 servers running BIND.

I have configured the two servers to run internal zones as a master /
slave setup.

My gateway runs DNSmasq and I would like all other requests for lookups to
be sent to the DNSmasq system.

I have added the following:

forward first;
  forwarders {
    172.16.0.1;
  };

Where 172.16.0.1 is the host running DNSmasq.

For some reason I still cannot resolve anything outside my network.

Any pointers?
Your servers running bind should be able to resolve outside names
with or without a forwarder if they have internet access.   Are you
sure /etc/resolv.conf is pointing to the right nameservers?   Try
using 'dig @resolver_ip some_name'  to test both the dnsmasq system
and your bind servers individually.


ugg... turns out I had a rather embarassing typo in named.conf... it all works now.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux