nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

BIND Named Multiple Domain Configuration

This is a discussion on BIND Named Multiple Domain Configuration within the Domain Name Server forums, part of the Mastering Servers category; Hi! how to setup a multiple domain on a single dns server? been trying to search google but I'm having ...


Go Back   nixCraft Linux Forum > Mastering Servers > Domain Name Server

Linux answers from nixCraft.


Domain Name Server Discussion on domain name server including BIND and other servers.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-11-2009, 07:26 PM
Junior Member
User
 
Join Date: Jul 2008
OS: CentOS 5
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
t0kneneng is on a distinguished road
Default BIND Named Multiple Domain Configuration

Hi! how to setup a multiple domain on a single dns server? been trying to search google but I'm having trouble finding the right guide.
Reply With Quote
  #2 (permalink)  
Old 27-11-2009, 04:04 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to add all domains to named.conf.

Code:
zone "domain1.com" {
        type master;
        file "master.domain1.com";
        allow-transfer { key TRANSFER; };
};

zone "domain2.com" {
        type master;
        file "master.domain2.com";
        allow-transfer { key TRANSFER; };
};
Next create master.domain1.com and master.domain2.com file and reload the named. Download our tutorial:

http://nixcraft.com/20407-post5.html


Go through it and if you got more problems. paste or attach your named.conf file here.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
bind , bind 9 , named , named.conf , zone files


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Bind 9 configuration chimu Domain Name Server 1 06-10-2009 05:29 PM
BIND named.conf search zone and comment it out script asim.mcp Shell scripting 2 15-06-2009 12:39 PM
Shell BIND NAMED Zone Creation Script asim.mcp Shell scripting 4 13-02-2009 04:51 PM
Setting Samba to Bind to an ADS Domain kevv.mai Getting started tutorials 0 20-04-2008 01:47 AM
Ubuntu Linux setup and configure a domain name server - BIND tom Getting started tutorials 1 10-08-2006 05:20 PM


All times are GMT +5.5. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38