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 27th June 2012, 20:46
vijayprabhakar vijayprabhakar is offline
Junior Member
 
Join Date: Jun 2012
Location: India
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Skype™ to vijayprabhakar
Post Bind DNS for Multiple Domains

Hi Guys,

If i have 2 or more domains such as domainname.com,domainname.net yourdomain.com etc..

I configure master DNS for yourdomain.com where i configured on named.conf and created zone files .

if have multiple domain names such as i mentioned above.Where i have to include these domain names in named.conf or shall i just create zone files ..?

Guys please help me
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2012, 21:04
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

you can include as many domains as you want in named.conf like this

Code:
zone "example.com" in{
  type master;
  file "master.example.com";
}

zone "example.net" in{
  type master;
  file "master.example.net";
}
Note: the zone file is a relativ path for the directory specified in the options stanza in named.conf.
Note2: there are many other options you can specify both in zone stanza's and/or other options ... you should check the bind documentation
Reply With Quote
The Following User Says Thank You to TiTex For This Useful Post:
vijayprabhakar (27th June 2012)
  #3  
Old 27th June 2012, 21:35
vijayprabhakar vijayprabhakar is offline
Junior Member
 
Join Date: Jun 2012
Location: India
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Skype™ to vijayprabhakar
 
Default

Thanks Titex,

After we configured slave server when we adding a new record on example.com zone file we need to increase the count on serial number.

In the multiple domain case we need to increase to count on all zone files or example.com zone file alone...?

Last edited by vijayprabhakar; 27th June 2012 at 21:45.
Reply With Quote
Reply

Bookmarks

Tags
bind 9, dns

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
DNS issue Debian Squeeze ISPConfig 3 Bind mleeroberts HOWTO-Related Questions 4 18th February 2011 18:26
ISPConfig Bind offline bobwdn Installation/Configuration 19 27th January 2009 18:26
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 03:59.


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