[Pdns-users] Disable slave seems impossible

Giuseppe Ravasio giuseppe_ravasio at egontek.net
Thu Sep 3 14:39:25 UTC 2015

Sorry for the late response.

On 08/25/2015 09:37 AM, Peter van Dijk wrote:
>>> This is
>>> imo a bug.
> I agree, this is a bug.
>> If you are interested, you can try
>> https://github.com/PowerDNS/pdns/pull/2705.diff
>> and commit there whether it works for you or not. This would help
>> tremendously.

I can confirm that with the patch the server works as expected.
I hope that sooner o later would be merged in an official release.

> As a workaround, assuming you are using gmysql, you could do something
> like this:
> gmysql-info-all-slaves-query=select id,name,master,last_check,type from
> domains where 1=0

This also works well!


More information about the Pdns-users mailing list