HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   MyDNS notify not working (http://www.howtoforge.com/forums/showthread.php?t=50410)

MrM 8th December 2010 12:35

MyDNS notify not working
 
I know this has been discussed a million times, but I just can't get it working.

I'm running ISPconfig 3.0.3 (just upgraded from 3.0.1.6) on Ubuntu 9.04. On this server, I have MyDNS 1.2.8.27 as the master DNS. Then I have a second server running bind9 on Ubuntu 10.04 as the slave DNS (no ISPconfig here).

On the master (MyDNS) I have:
Code:

allow-axfr = yes
allow-tcp = yes
allow-update = yes
notify-enabled = yes
notify-source = 0.0.0.0

Also, each zone has the slave's IP in the xfer field.

On the slave (bind9) I have:
Code:

server <MASTER_IP> {
    request-ixfr no;
};

As well as all the zones from the master like this:
Code:

zone "<DOMAIN>" {
    type slave;
    file "/var/cache/bind/db.<DOMAIN>";
    masters { <MASTER_IP>; };
};


The problem is, the slave only receives notifies when MyDNS is restarted on the master. However, if I change a DNS record in ISPconfig, no notification is sent to the slave, and consequently the slave does not receive the updated record. If I run `rndc retransfer <DOMAIN>` on the slave, the record gets updated.

What could be the cause of this problem?

till 8th December 2010 16:36

As you wrote already, thats a known problem with mydns.

Quote:

What could be the cause of this problem?
mydns

The only solution is to use bind instead of mydns.

MrM 8th December 2010 17:14

Quote:

Originally Posted by till (Post 246144)
The only solution is to use bind instead of mydns.

Is it possible to make ISPconfig either restart mydns every time a DNS record is changed, or (better) call a remote script on the slave server, which can then invoke a rndc retransfer?

I would also gladly use bind instead of mydns, but I fear making the switch on a live server with lots of zones is far from trivial.

MrM 9th December 2010 12:51

I decided to switch to bind after all. It turns out it's not that difficult at all. I followed your instructions and it all went fine. After the switch, notifies started working out-of-the-box, no configuration necessary.

Thanks for your help, till.


All times are GMT +2. The time now is 06:53.

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