Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 21:48:16

Author Topic: Adding simple DNS entry takes about 2 minutes  (Read 5510 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Adding simple DNS entry takes about 2 minutes
« on: 2015-04-28, 18:58:07 »
What's wrong ? It never happened before. I will have to restore to previous version.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Adding simple DNS entry takes about 2 minutes
« Reply #1 on: 2015-04-28, 19:12:23 »
Something wrong with your server because still fast like usual in my dev server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #2 on: 2015-04-28, 19:14:15 »
Something wrong with your server because still fast like usual in my dev server.

Try again with 1300 domains. It was ultra fast and now it's not ;( Investigating...

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #3 on: 2015-04-28, 19:32:33 »
WOW - you know what happened ?

This script made my powerdns database to be 336 MB in records table ...

That's why it works so slow.

My DNS table in Kloxo database is now 1,3 GB !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Adding simple DNS entry takes about 2 minutes
« Reply #4 on: 2015-04-28, 19:39:25 »
Clear all contents of pdns databases (use phpmyadmin) and then run cleanup again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #5 on: 2015-04-28, 19:50:03 »
Clear all contents of pdns databases (use phpmyadmin) and then run cleanup again.

Already restored pdns databases from backup - DNS works fine.

Now I have to clear dns table inside Kloxo database and rebuild it. Is it possible ?

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #6 on: 2015-04-28, 19:54:50 »
Database DNS database cleared. All DNS entries are now gone but system is working fine.

Now with a simple query I will remove all incorrect DMARC entries from all PowerDNS databases.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #7 on: 2015-04-28, 20:01:32 »
I see these DMARC entries are not inside pdns database. So they were in Kloxo database ?

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #8 on: 2015-04-28, 20:04:37 »
Automated version does not work ... :(

sh ./changedns.sh DNS.dnst
no_object: : 00facts.frix.eu
no_object: : 00finan.frix.eu
no_object: : 00games.frix.eu
no_object: : 00kino.frix.eu
no_object: : 00kobiet.frix.eu
no_object: : 00news.frix.eu
no_object: : 00pc.frix.eu

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Adding simple DNS entry takes about 2 minutes
« Reply #9 on: 2015-04-28, 20:13:29 »
DMARC, SPF and domainkey must exists in dns.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #10 on: 2015-04-28, 20:47:27 »
I will look for them.
DMARC, SPF and domainkey must exists in dns.

SPF, DomainKeys exists. They will have to be rebuild too with /script/fixdomainkeys.

This script is also slowing down Kloxo:

/opt/php54s/usr/bin/php -c /opt/php54s/custom/php54s.ini ../bin/sisinfoc.php

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Adding simple DNS entry takes about 2 minutes
« Reply #11 on: 2015-04-28, 21:03:27 »
Sysinfoc for watchdog and traffic collecting. Try fix-dns instead cleanup.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #12 on: 2015-04-28, 21:41:08 »
I'm almost there with manual DNS rebuilding for each customer (rebuilding template for all customer domains).

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Adding simple DNS entry takes about 2 minutes
« Reply #13 on: 2015-04-28, 21:57:10 »
Fixdns possible with '--client='. Try 'sh /script/fixdns --help' to know more options.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Adding simple DNS entry takes about 2 minutes
« Reply #14 on: 2015-04-28, 22:46:56 »
All customers were rebuild manually. Then I've runned /script/fixdomainkeys, then I've added secondary server in Kloxo database (only localhost were as syncserver), then I've cleared slave's powerdns database and now running /script/fixdns which will solve all problems and rebuild slave from scratch.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.064 seconds with 18 queries.

web stats analysis