
9th May 2006, 21:47
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
BIND as a slave for MyDNS master
I would like to setup a slave with BIND. It should do nothing other then get all the dns data from MyDNS master.
How should i configure the slave BIND?
(i'm gonna use chrooted bind, which is simple enough)
This is becuase i want to install a slave without any burden, like mysql etc, just want a plain slave thats all. Also i don't want to share the same mysql database since that would defeat the purpose of having it in the first place. If master goes down so will slave.
If there is better way (lighter way  ) please let me know.
Thank you.
|

9th May 2006, 21:50
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It would be even more amazing if i could run MyDNS using sqlite  anyway just a thought.
|

9th May 2006, 23:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Have a look at this tutorial: http://www.howtoforge.com/traditional_dns_howto
The slave configuration is also explained there.
|

24th May 2006, 20:04
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Do I need to do anything special to the mydns server to make it transfer correctly?
|

24th May 2006, 20:07
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
oops... nevermind. figured it out.
|

31st October 2009, 16:28
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi could you enlighten us on how you did it...
My current situation:
I attempted to create a "master" dns server in ISPconfig 3 using mydns and have it replicate to my ispconfig 2 bind dns. Both servers are being NATed behind respective firewalls.
I updated the mydns.conf with the following options:
allow-axfr = yes
allow-update = yes
notify-enabled = yes
notify-source = (public NATed IP of mydns master)
I created the zone on the master ispconfig 3 server (mydns) and created a slave zone on the ispconfig 2 (bind 9) server pointing to the master.
The initial axfr goes through but any updates to the zone are not transferred with the following error in the log:
I receive the following in the syslog of the ispconfig 2 bind server:
Oct 31 10:03:30 (server) named[(PID)]: client (public.IP.of.mydns)#47075: received notify for zone '(domain).com'
Oct 31 10:03:30 (server) named[(PID)]: zone .com/IN: Transfer started.
Oct 31 10:03:30 (server) named[(PID)]: transfer of '(domain).com/IN' from (public.IP.of.mydns)#53: connected using (private.IP.of.bind)#35684
Oct 31 10:03:30 (server) named[(PID)]: transfer of '(domain).com/IN' from (public.IP.of.mydns)#53: failed while receiving responses: end of file
Oct 31 10:03:30 (server) named[(PID)]: transfer of '(domain).com/IN' from (public.IP.of.mydns)#53: end of transfer
Is the "failed while receiving responses: end of file" occurring because of the private ip being sent?? is "notify-source = " config option of mydns supposed to fix that?
Any help would be appreciated.
Thanks,
Last edited by mooseman; 31st October 2009 at 19:45.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:48.
|
Recent comments
1 day 15 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 13 hours ago