Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th February 2009, 20:57
Murder4Al Murder4Al is offline
Junior Member
 
Join Date: Apr 2007
Posts: 12
Thanks: 1
Thanked 3 Times in 2 Posts
Default myDNS & Bind slaves - ISPConfig3

Hi,

I'm doing some testing with the great ISPConfig3 and I ran into some questions with myDNS. As it's very light in docs I resort to here.

I have several off-site dns backups who run bind (not discussable) and I want them to AXFR their stuff of the main myDNS server.
I have added 'allow-axfr = yes' to the mydns.conf, and I have verified this actually working after adding my slave dns-ip's to the xfer field.

What I'm not getting is the notify part.
If I got it correctly myDNS does not sent notifies to the slaves whenever updates are performed (it's not aware of such a change since only the underlying table is updated and the deamon is not notified), thus creating an potential problem.
But the documentation states that that is the setting 'notify-enabled' is true then notifies will be generated on startup, this is something that I can't confirm to be working.
I find that updating the slaves in a timely matter is important for good service.

Any ideas ?

Greets
Kobe
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2009, 10:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

I see two options:

1) Rund mydns on the slaves too and use the mysql replication faetures in ispconfig to replicate the dns records to the other instances.

2) Restart the mydns on the master by cron from time to time, e.g. once an hour.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th February 2009, 12:20
Murder4Al Murder4Al is offline
Junior Member
 
Join Date: Apr 2007
Posts: 12
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Till,

Running myDNS on the slaves is not an option (those servers are not mine and re slaving several thousands of other domains from other sources).

Upon restarting myDNS NOTIFIES are not sent out currently (for a reason unknown to me). Is this a possible bug in myDNS or am I missing something?
In case of a bug I'll have a look in the source ;-)
Reply With Quote
  #4  
Old 20th February 2009, 12:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Originally Posted by Murder4Al View Post
Till,

Running myDNS on the slaves is not an option (those servers are not mine and re slaving several thousands of other domains from other sources).

Upon restarting myDNS NOTIFIES are not sent out currently (for a reason unknown to me). Is this a possible bug in myDNS or am I missing something?
In case of a bug I'll have a look in the source ;-)
I'am not suere if its a bug as I'am not a mydns developer. Maybe its just a missing feature? mydns isteslf is not under development anymore as far as I know but the successor project is mydns-ng which can be found at sourceforge and which is used for ispconfig as well. Maybe you might ask the developers in their mailing list if they know a solution for this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th February 2009, 14:17
Murder4Al Murder4Al is offline
Junior Member
 
Join Date: Apr 2007
Posts: 12
Thanks: 1
Thanked 3 Times in 2 Posts
Default

A look in the source learned that 'allow-update' also needs to be enabled for the notify-on-start feature to kick-in.

Since bind is trying to be smart it uses IXFR's as a response it seems, so I just need to figure out how to enable that.

BTW, I'm using the -ng version evidently.
Reply With Quote
  #6  
Old 23rd February 2009, 08:48
theamoeba theamoeba is offline
Junior Member
 
Join Date: May 2008
Posts: 11
Thanks: 3
Thanked 1 Time in 1 Post
Question

What I am struggling to understand is, why did u decide to change over to mydns when bind seemed to be working just fine. i will grant u that mydns is easier to understand.

i am running fedora 9 (i know this experimental, and no i am not changing to ubuntu/debian). mydns starts beautifully using a service mydns start, but it refuses to start on boot - it gives an error 111 mysql connection error.

can someone please help with this as all of the mysql details are correct and it loads nicely once the box has booted and i do a service start manually.

it just occurred to me that since it is moaning about a mysql.sock error, is it not possible that mydns is starting before mysqld and therefore cannot connect?

J
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
Permission Denied Bind Slave Server Problems wxman Server Operation 17 22nd March 2014 12:30
Problem on restart bind9 satimis Server Operation 6 30th October 2007 02:01
MyDNS (Master) -> Bind (Slave) Support todgerme General 4 4th September 2007 14:45
ISPConfig and BIND on Debian sarge (rfc1912 : failed on zonecheck) arnaud Installation/Configuration 13 6th March 2007 12:40
Bind-Chroot-Howto (Debian) spaz HOWTO-Related Questions 5 9th March 2006 14:50


All times are GMT +2. The time now is 18:57.


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