Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th December 2011, 17:27
raysv raysv is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default DNS setup with 1 master and 2 slaves

Hi,

I've been setting up ispconfig to administer dns, the setup should have 1 master/primary and two secondary servers.

I can see that ispconfig out of the box only supports 2 ns servers, and its not possible to add more than one slave zone pr domain.

Anyone know what the best way is to get 2 slaves working?
Reply With Quote
Sponsored Links
  #2  
Old 30th December 2011, 17:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,407
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Quote:
I can see that ispconfig out of the box only supports 2 ns servers
Thats wrong. You can use as many dns slaves as want in ISPConfig 3. Currently one master server supports up to 2147483647 slave servers.

Just repeat the steps for the secondary installation on as many servers as you need:

http://www.howtoforge.com/how-to-run...debian-squeeze
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th December 2011, 18:21
raysv raysv is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks for the reply.

But one question, wouldn't that result in 3 primary zones and not 1 primary and 2 slaves?
Reply With Quote
  #4  
Old 30th December 2011, 18:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,407
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Zones can be either synced by bind, then you need slave zones as a slave zone instructs bind to make a copy of the zone data or by another technology like ispconfig is doing it by writing the zone data on all slaves directly. It makes no difference for the user who queries your dns servers.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th December 2011, 18:34
raysv raysv is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

And this works out much better i see, since its not needed to create the sec. zones by them self anymore.

Thanks for the tips, much appriciated
Reply With Quote
  #6  
Old 2nd January 2012, 22:09
zbuzanic zbuzanic is offline
Member
 
Join Date: Sep 2011
Location: Zagreb
Posts: 79
Thanks: 43
Thanked 21 Times in 13 Posts
Default

Hi, I have similar question as I have two servers, and I run ispconfig on both but I control them from master. I don't want to make a copy, I just want to sync DNS from master to slave. I've tried this:
http://www.howtoforge.com/debian_bin...r_slave_system

but it didn't copy, is there any tutorial or something where I should look at just to sync BIND9?
__________________
ISPConfig -> the best open source control panel
Reply With Quote
  #7  
Old 2nd January 2012, 22:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,407
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Your server is already correctly configured if you followed the perfect setup guide. Please undo the steps from the tutorial you posted as they are incompatible with ispconfig 3 and using them will destroy the dns setup.

Instead, just create a new master dns record and a slave dns record in the ispconfig interface and add the IP of the slave server in the field "Allow zone transfers to
these IPs".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
zbuzanic (2nd January 2012)
  #8  
Old 2nd January 2012, 23:25
zbuzanic zbuzanic is offline
Member
 
Join Date: Sep 2011
Location: Zagreb
Posts: 79
Thanks: 43
Thanked 21 Times in 13 Posts
Default

Hm, ok
I've reverted configuration, but can't figure out what do you mean to create new master dns record?

I've got even manual in front of me and still clueless..
I feel dumb sometimes :/
__________________
ISPConfig -> the best open source control panel
Reply With Quote
  #9  
Old 2nd January 2012, 23:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,407
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Quote:
I've reverted configuration, but can't figure out what do you mean to create new master dns record?
ISPConfig 3 manual:

5.12 How Do I Create A DNS Zone
5.13 How Do I Create A Secondary DNS Zone
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
zbuzanic (3rd January 2012)
  #10  
Old 3rd January 2012, 01:10
zbuzanic zbuzanic is offline
Member
 
Join Date: Sep 2011
Location: Zagreb
Posts: 79
Thanks: 43
Thanked 21 Times in 13 Posts
 
Default

Ok, I've finally figured it out, no more errors

http://www.intodns.com/appoteka.net

It would be nice if we could add to templates slave dns configuration or something like that.

Thank you alot!
__________________
ISPConfig -> the best open source control panel
Reply With Quote
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
Fedora 13 BIND Server wont start. ev0css Installation/Configuration 1 23rd June 2010 22:16
slave dns picking up on the master dns HooGLaNDeR General 17 4th January 2010 14:00
offsite DNS (master and slave) solution jorizzzz Tips/Tricks/Mods 1 9th March 2009 16:04
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 11:21.


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