LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Bind.DNS Help needed on Split DNS server (https://www.linuxquestions.org/questions/linux-server-73/bind-dns-help-needed-on-split-dns-server-840810/)

manya 10-27-2010 02:04 PM

Bind.DNS Help needed on Split DNS server
 
Hi All,

Can some one please help me here?

I have a split dns configured for abc.gov.au in master and slave mode. However on slave I am not pretty sure what and how should be the internal view configured.

As I have configured same zone my Zone transfer creates a file for public IP where it should picked up and transfer my private IP address zone file.

Please help

Thanks and Regards,
manya

MensaWater 10-27-2010 03:32 PM

Essentially you have to have two separate IP addresses configured for both the master and the slave and configure the zone transfer for internal on one IP and the one for external on the other.

You don't need another NIC - you can add an alias to whichever NIC is currently used. On mine I use eth1 for external and alias eth1:1 for the internal.

You have to modify the named.conf to create acl for the relevant IP put your allow-transfer inside the views.

You also have to be sure to open up any firewall ports for the new IP in the same way you opened them for the original one (assuming you have a firewall device and/or iptables running on the servers).

manya 10-27-2010 11:23 PM

Hmmm..that does make sense.

Can I have sample configuration.

MensaWater 10-28-2010 08:39 AM

You don't say what version of BIND you're using.

If you go to the Internet Systems Consortium's (ISC - makers of BIND) Administrator's Reference Manual (ARM) you can find examples. Below is a link the HTML ARM for BIND 9.4:
http://www.isc.org/files/arm94_0.html

Once you go there do a search for "Split DNS" and you'll see examples in that section.

The ARMs are good resources and ISC has them for the versions 9.4 through latest 9.7.x. The view stuff is pretty much the same in all of BIND 9.x.


All times are GMT -5. The time now is 12:10 PM.