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-03-28, 23:32:23

Author Topic: Kloxo-MR 7 Bind DNS BUGS!!  (Read 9405 times)

0 Members and 1 Guest are viewing this topic.

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Kloxo-MR 7 Bind DNS BUGS!!
« on: 2014-12-17, 23:49:14 »

Kloxo-MR 7 last version. Bind DNS can't start because of /etc/rndc.key content. I changed key name in this file rndckey to rndc-key then it works.

My system: OpenVZ VPS with CentOS 5.11

Also named.master.conf file is empty. Then Bind can't load zone. I ran /script/fixdns but it can't fix too.

'sh /script/fix-all; sh /script/restart-all' also can't fix.

There are zone files in nsd/conf/master folder. But bind doesn't load zone files. How can I fix this. It's critical.
« Last Edit: 2014-12-22, 09:04:08 by Almas »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #1 on: 2014-12-17, 23:53:24 »
Switch to nsd and switch back to bind. Better using nsd instead bind because using memory usage.

Bind, nsd and yadifa using the same domain zones file.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #2 on: 2014-12-18, 00:42:15 »
Thank you for your reply. I tried nsd also. But can't have luck. I upgraded from Kloxo 6.1.19 to Kloxo-MR 7
and can't load DNS.

I tried it already. But it can't helped. I switched nsd and djbdns back to bind.
I checked files in /opt/configs/nsd/conf/master and there are files which named my domains and extension .conf.

But Bind can't load zones. There are

/opt/configs/bind/conf/defaults/named.master.conf
and
/opt/configs/nsd/conf/defaults/nsd.master.conf

are empty. Is this can cause? How can I fix this?

(now I trying /script/cleanup one more time)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #3 on: 2014-12-18, 00:48:59 »
Did you already add domains?. Try add one (no problem with 'dummy' domain like 'iamhereandtry.com').
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #4 on: 2014-12-18, 01:19:39 »
I had many domains before. I added new domain. That is now in named.master.conf
But old domains not. :( Can you help me?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #5 on: 2014-12-18, 01:25:12 »
Did you update from Kloxo or Kloxo-MR 6.5?.

If your domains listed in 'domain list', running 'sh /script/fixdns; sh /script/restart-dns -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #6 on: 2014-12-18, 01:31:46 »
I found cause.
My domains had field syncserver 2 or more in database. I changed it to localhost. Then it go on.
If syncserver multi then /script/fixdns failing.

It fixed:
UPDATE `dns` SET `syncserver`='localhost' WHERE syncserver='localhost,ns2.nameserver.com'
« Last Edit: 2014-12-18, 01:37:12 by Almas »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #7 on: 2014-12-18, 01:42:12 »
Value of syncserver always 'localhost' or 'ns2.nameserver.com'. So, value of 'localhost,ns2.nameserver.com' is wrong.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #8 on: 2014-12-18, 01:55:57 »
I upgraded from Kloxo 6.1.19.
Kloxo has this option. I have no idea about it. But remember that I chosen 2 name servers for one domain before. Maybe it was my fault. But official Kloxo worked ok with this configuration.

By the way thank you for helped  ;D You are life saver :)

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Bad owner name (check-names) Error (BIND) Problem
« Reply #9 on: 2014-12-18, 05:09:41 »
When attempting to load a zone file this error can occur and cause bind start fails:

pop.company.net.zone:313: blah.pop.company.net: bad owner name (check-names)
zone pop.company.net/IN: loading from master file pop.company.net failed: bad owner name (check-names)
zone pop.company.net/IN: not loaded due to errors.

Solution:
To named.options.conf add options below:

        check-names master ignore;
        check-names slave ignore;
        check-names response ignore;


Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #10 on: 2014-12-18, 05:15:56 »
Also one small bug:

On a DNS Template Pool and also Servers page Up and Down buttons of list doesn't work.

Error on javascript console is:
ReferenceError: frm_client_b_dnssyncserver_list is not defined

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #11 on: 2014-12-18, 05:41:16 »
Update on a first bug that I reported:

Slave server's named.master.conf file is empty. My fix also can't handle it. Now DNS zones only on master server. But can't created on Secondary name server. Please check and fix this bug.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #12 on: 2014-12-18, 05:47:10 »
Please don't posting your issue in github. Enough in this forum.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Almas

  • Junior Member
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Kloxo-MR 7 Bind DNS bugs
« Reply #13 on: 2014-12-22, 09:03:44 »
Also this bug affecting on Slave (secondary) DNS servers.

In /opt/configs/nsd/conf/master/ folder there is zone files created. But /opt/configs/nsd/conf/defaults/nsd.master.conf and /opt/configs/bind/conf/defaults/named.master.conf is empty.

Then I think 'localhost,ns2.nameserver.com' should be correct and need fix DNS need to create files on both master and slave servers. How can I fix this? Can you help me. Thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo-MR 7 Bind DNS BUGS!!
« Reply #14 on: 2014-12-22, 10:06:29 »
Kloxo-MR not using 'Role' like Kloxo do. For secondary DNS, use 'Secondary DNS Configure' feature and secondary zone will save in  /opt/configs/nsd/conf/slave instead  /opt/configs/nsd/conf/master (for nsd).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.043 seconds with 21 queries.

web stats analysis