LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-06-2007, 01:07 PM   #1
rsmccain
Member
 
Registered: Apr 2004
Location: Louisiana
Distribution: SUSE
Posts: 154

Rep: Reputation: 30
Need to manage multiple zones in DNS


Lets say I have domainA.com, domainB.com and domainC.com. I want to be able to make record entries in domainA.com and have it sync/mirror to the other domains.

The reason for this is we are in the process of migrating from one domain to the others.

A co-worker mentioned using DNAME record(s) but I've been reading around and it seems that its very popular with the BIND community.

Any suggestions?
 
Old 09-06-2007, 02:26 PM   #2
davesmith
Member
 
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 36

Rep: Reputation: 15
I think there are scripts that can build the named files for you, though I don't know anything about the DNAME stuff, except with connecting it to DHCP. I don't think that's what you're wanting to do though.

So, a script that took a list of DNS names, and built the named files, with a new serial number, and is run manually after the new name added, or existing name modified or removed.

I'm sure some exist... can't think of one off the top of my head though.
 
Old 09-06-2007, 02:31 PM   #3
rsmccain
Member
 
Registered: Apr 2004
Location: Louisiana
Distribution: SUSE
Posts: 154

Original Poster
Rep: Reputation: 30
Any idea where these scripts might live?
 
Old 09-06-2007, 02:41 PM   #4
davesmith
Member
 
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 36

Rep: Reputation: 15
somewhere on the big blue internet

I just tried a quick internet search, but didn't find anything.

There are a number of web based management interfaces... Don't know if that would be a better solution?
 
Old 09-06-2007, 09:00 PM   #5
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
DNAME is a option.

You can also have multiple zones using the same file in named.conf. You just need to make sure you use the shortcuts in the zone and don't define the actual domain in the zone file. Also sym links can be used that just refer to the "master" file.

For example instead of using this in the SOA

Code:
yourdomain.com.     IN     SOA     ns1.yourdomain.com.     support.yourdomain.com. (
use,

Code:
@     SOA     ns1     support (

Same goes for your resource records

Code:
host56.yourdomain.com.        IN    A     192.168.0.10
replaced with

Code:
host56        IN    A     192.168.0.10
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help on configuring dns zones tr3s Linux - Server 5 08-23-2007 02:34 AM
IP Cop 1.4 multiple green zones fredmon Linux - Networking 1 12-24-2004 06:18 AM
trying to setup dns zones - bind 9.2.4 LKWPeter Linux - Networking 1 12-01-2004 03:05 PM
DNS Slave not getting zones from master tysonh04 Fedora 1 06-06-2004 05:10 PM
dns zones jmono Linux - Networking 3 05-19-2003 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration