Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd February 2009, 16:38
ACDII ACDII is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 7
Thanked 3 Times in 3 Posts
 
Default Setting up a child domain in Bind to point to different server

Hi All, I have a few servers that run DNS, a primary, a secondary and a standalone. The Pri and Sec are fine, master/slave is working fine, and I can have the child domain working if I have zone files on the Pri and standalone. What I want to do is only have the zone file on the standalone, but resolve through the Primary/secondary without having zone files on it. Basically its a hosts zone for our monitoring systems and only those server will primarily use it, plus if we want to telnet by name that will give us the option to do so.

On the Pri, how can I set up the child domain so that any queries to hostname.hosts.domain.com will forward to the Standalone server? I want to avoid having to slave from the standalone to the primary, since all updates to the zone file will only be done on the standalone through a web interface. We also use Windoze DNS for Exchange, and would like to accomplish the same thing from those servers without having individual zones on the servers.
Examples would be quite helpful.

Here is what I have so far, this is at the end of my main domain zone file;

hosts.domain.com IN NS ns1.hosts.domain.com.
hosts.domain.com IN NS ns2.domain.com.
hosts.domain.com IN NS ns3.domain.com.
ns1.hosts.domain.com IN A 10.239.254.4

then I have a zone file on the PRI for the child, which replicates to the slave;

$TTL 86400
$ORIGIN hosts.domain.com.

@ IN SOA server2.hosts.domain.com. admin.hosts.domain.com. (
2009020302 ; serial
7200 ; refresh
7200 ; retry
604800 ; expire
172800 ; ttl
)

@ IN NS ns1.hosts.domain.com.
ns1.hosts.domain.com IN A 10.239.254.4


and in my named.conf;

zone "hosts.domain.com" {
type master;
file "hosts.domain.com.zone";
allow-update { none; };
allow-transfer { ip.ip.ip.ip; };
};
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 18:20
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
One Domain Name Not Responding Authoritatively bluethunder82 Installation/Configuration 5 9th September 2007 16:09
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04


All times are GMT +2. The time now is 04:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.