Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-27-2010, 02:04 PM
|
#1
|
Member
Registered: Apr 2004
Posts: 194
Rep:
|
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
|
|
|
10-27-2010, 03:32 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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).
Last edited by MensaWater; 10-27-2010 at 03:34 PM.
|
|
|
10-27-2010, 11:23 PM
|
#3
|
Member
Registered: Apr 2004
Posts: 194
Original Poster
Rep:
|
Hmmm..that does make sense.
Can I have sample configuration.
|
|
|
10-28-2010, 08:39 AM
|
#4
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
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 10:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|