MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2014-10-02, 20:35:54

Title: [resolved] /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-02, 20:35:54
Quote
[root@online kloxo_update]# sh /script/fixdns

- For help, type '/script/fixdns --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config
- 'for-sport.xxx.pl' ('adamsycz') at 'backup.xxx.pl,localhost'

*** Process Time: 00:00:00:00.926 (dd:hh:mm:ss:xxxxxx) ***

While I got about 1600 domains !

Kloxo-MR 7.0.0.b-2014100206
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-02, 21:04:35
It's just not appear. Not sure for others, but running well for nsd.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-02, 21:41:46
Also adding a new domain result in blank Kloxo screen !
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-02, 21:49:11
It's just not appear. Not sure for others, but running well for nsd.

I use PowerDNS !
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-03, 09:03:19
If found issue in pdns, try delete all data in powerdns database (use phpmyadmin; use 'select all' and 'empty') and then run fixdns again.

Fixdns for pdns is very ineficience (need optimize code).
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 12:04:26
If found issue in pdns, try delete all data in powerdns database (use phpmyadmin; use 'select all' and 'empty') and then run fixdns again.

Fixdns for pdns is very ineficience (need optimize code).

We cant make 3 hours downtime on three DNS servers ? Can we make one by one ?
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 12:20:34
I'm rebuilding ns2 and ns3 using new tpl but using old Kloxo-MR 7.0.0.b-2014092203
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 12:21:35
Again no glue !!!

Quote
Glue for NS records    INFO: GLUE was not sent when I asked your nameservers for your NS records.This is ok but you should know that in this case an extra A record lookup is required in order to get the IPs of your NS records. The nameservers without glue are:
198.50.158.1
198.50.238.2
You can fix this for example by adding A records to your nameservers for the zones listed above.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-03, 12:22:36
Steps for delete all data:

1. Click 'sql manager' in Kloxo-MR panel
2. Click 'powerdns' database in left frame
3. Click 'select all' and then select 'empty' (don't select 'drop') in 'with selected:' and then click 'go'.

And then, run fixdns and restart-dns.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 12:34:41
Steps for delete all data:

1. Click 'sql manager' in Kloxo-MR panel
2. Click 'powerdns' database in left frame
3. Click 'select all' and then select 'empty' (don't select 'drop') in 'with selected:' and then click 'go'.

And then, run fixdns and restart-dns.

That's what I did and still no glue on slave server !
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-03, 12:51:27
If slave also using pdns maybe not work. At this moment, only nsd running well for all features.

You can see 'mratwork.com' in intodns.com where ns1 = server1, ns2 = puck.nether.net and ns3 = server2. Server1 and server2 using Kloxo-MR 7 with nsd as dns server.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 13:55:54
If slave also using pdns maybe not work. At this moment, only nsd running well for all features.

You can see 'mratwork.com' in intodns.com where ns1 = server1, ns2 = puck.nether.net and ns3 = server2. Server1 and server2 using Kloxo-MR 7 with nsd as dns server.

I use PowerDNS on both. It was working well before so I'm staying on older version of Kloxo.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-03, 15:29:38
What's version that you think pdns running well. Kloxo-MR version and or pdns version.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 20:06:46
What's version that you think pdns running well. Kloxo-MR version and or pdns version.

I mean Kloxo-MR version: Kloxo-MR 7.0.0.b-2014092203 + new configs = then all works fine even on master-slave environment.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: MRatWork on 2014-10-03, 20:55:42
It's not mean version of pdns?.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 21:21:39
It's not mean version of pdns?.

I use the latest version of pdns on both servers ;)
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-03, 21:54:14
Now upgraded everything and glue still does not work on slave.

Slave databases were cleaned, master will be made tomorrow when slave will be finished.
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-04, 00:07:22
Some domains does not have same serial:

198.50.238.x->  2014100335
198.50.158.x ->  2014100335
78.46.85.x ->  2014093034
Title: Re: /script/fixdns does not work for master-slave (probably slave)
Post by: Spacedust on 2014-10-05, 22:44:41
Now works fine ;)