MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2015-05-15, 21:47:47

Title: /script/cleanup changes pdns database password but not in config
Post by: Spacedust on 2015-05-15, 21:47:47
Database password is changed by not in /etc/pdns too which results in non-working DNS.
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: MRatWork on 2015-05-17, 15:24:19
I will check.
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: MRatWork on 2015-05-17, 15:34:24
See 'function PreparePowerdnsDb($nolog = null)' inside '/usr/local/lxlabs/kloxo/httpdocs/html/lib.php'.
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: Spacedust on 2015-05-17, 16:11:09
See 'function PreparePowerdnsDb($nolog = null)' inside '/usr/local/lxlabs/kloxo/httpdocs/html/lib.php'.

No such folder html
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: MRatWork on 2015-05-17, 16:16:32
See 'function PreparePowerdnsDb($nolog = null)' inside '/usr/local/lxlabs/kloxo/httpdocs/html/lib.php'.

No such folder html
Inside /usr/local/lxlabs/kloxo/httpdocs/lib/html/lib.php
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: Spacedust on 2015-05-17, 16:27:36
See 'function PreparePowerdnsDb($nolog = null)' inside '/usr/local/lxlabs/kloxo/httpdocs/html/lib.php'.

No such folder html
Inside /usr/local/lxlabs/kloxo/httpdocs/lib/html/lib.php

It's because you change powerdns to something else. It should replace anything in line:

gmysql-password=xxxxxxx
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: MRatWork on 2015-05-17, 16:50:10
Base pdns.conf inside /usr/local/lxlabs/kloxo/file/pdns/etc/pdns/conf/pdns.conf (where copy to /opt/configs/pdns/etc/pdns/conf' if running cleanup) using 'gmysql-password=powerdns'.
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: Spacedust on 2015-05-17, 16:51:21
Base pdns.conf inside /usr/local/lxlabs/kloxo/file/pdns/etc/pdns/conf/pdns.conf (where copy to /opt/configs/pdns/etc/pdns/conf' if running cleanup) using 'gmysql-password=powerdns'.

It seems it does not copy when I got my modifed pdns.conf (with IPv6 enabled).
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: MRatWork on 2015-05-17, 17:00:06
It's not priority for next features.

As we know every IPv4 have equivalence IPv6 /64 and every IPv6 is /128. So, every IPv4 have 2^64 = 18,446,744,073,709,551,616 IPv6.

The question is why we need 'external' IPv6 if every IPv4 have 'built-in' 18,446,744,073,709,551,616 IPv6?
Title: Re: /script/cleanup changes pdns database password but not in config
Post by: Spacedust on 2015-05-17, 17:14:09
It's not priority for next features.

As we know every IPv4 have equivalence IPv6 /64 and every IPv6 is /128. So, every IPv4 have 2^64 = 18,446,744,073,709,551,616 IPv6.

The question is why we need 'external' IPv6 if every IPv4 have 'built-in' 18,446,744,073,709,551,616 IPv6?

OK