Ok, so now set cronjob to
And that will work as you want (every 5 minutes). Your cron entry was wrong:
5 * * * * root bash /root/syncdns.sh
doesn't mean run the job every 5 minutes. That means, run the job every hours at 5 minutes past
Ok, so now set cronjob to
And that will work as you want (every 5 minutes). Your cron entry was wrong:
5 * * * * root bash /root/syncdns.sh
doesn't mean run the job every 5 minutes. That means, run the job every hours at 5 minutes past
Just for record:
After upgrade to 1.3.0 I need run the following command again to work well dns:
Quoteperl imscp-autoinstall -dasr named
If you use 1.3.0 or above you must download latest listener from here:
https://github.com/i-MSCP/imsc…med_slave_provisioning.pl
An other info is, that ns2 bind file is in raw format:
http://serverfault.com/questio…binary-zone-file-on-bind9
You can change it, but raw format is better performance.
I have an ask/question for this listener file.
Is there any reason why not in there "allow-transfer" settings in the zone files?
Read this why is usefull:
http://www.zytrax.com/books/dns/ch7/xfer.html#allow-transfer
This directive is added by i-MSCP (master DNS server configuration). The template is:
That parameter tells the Master DNS server that SECONDARY_DNS which is replaced by slave server DNS IPs are allowed to do an AXFR (zone transfer). There is nothing wrong in the current implementation.
Good evening,
is the script "10_named_slave_provisioning. pl" still up to date?
it is not possible to use the url /provisioning/slave_provisioning.php
The error message "An unexpected error occurred" is displayed directly.
I tested both with authentication and without.
i-MSCP 1.5.1
Build: 20170908
Debian 9.2
With best regards
Hallo @xen1ty
Please use latest listener for I-MSCP 1.5.x from here: https://github.com/i-MSCP/imsc…med_slave_provisioning.pl
Best regards
Thank you very much!
Sometimes the solution is so simple, and I've spent almost an hour trying to find the mistake.
It works now
With best regards