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, 19:26:02

Author Topic: Setting up multiple DNS server  (Read 9740 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #15 on: 2017-05-05, 17:16:11 »
Yes, i understand that, but it seems it receives all the zones. But it seems they are not saved at server2.
I think it should be saved at /opt/configs/nsd/conf/slave, but i'm not sure.

So Kloxo-MR  at server2 is supposed to create the zone defintions in /opt/configs/bind/conf/defaults/named.slave.conf?

I tried restart-dns, there is no difference since there is NO zone files at server2.
What do you mean by "make sure domain alteady listed in list.slave.conf"?
You probably mean listed in /opt/configs/bind/conf/defaults/named.slave.conf?

Do we need to do something manually first to get this working?



@mustafa, should i go back to using DNS master on server2 with rsync (from server1) as i had before?
Request from server2 only work after dns full propagation. But, you can try 'sh /script/restart-dns' in server2 (make sure domain alteady listed in list.slave.conf)
« Last Edit: 2017-05-05, 17:17:52 by fossxplorer »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting up multiple DNS server
« Reply #16 on: 2017-05-05, 17:29:53 »
So Kloxo-MR  at server2 is supposed to create the zone defintions in /opt/configs/bind/conf/defaults/named.slave.conf?
Yes.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #17 on: 2017-05-05, 17:36:51 »
Alright. Is the creation of slave zones triggered by zones transfers from master?
I.e when the DNS master transfers zones to slave/server2, Kloxo-MR understands it and runs /opt/configs/bind/tpl/list.slave.conf.tpl?

I don't  understand why this shouldn't work. I suspect it's Kloxo-MR not working as it should. Bind seems to do it's work both master and slave, but Kloxo-MR obviously is not creating the slave zone files!



So Kloxo-MR  at server2 is supposed to create the zone defintions in /opt/configs/bind/conf/defaults/named.slave.conf?
Yes.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting up multiple DNS server
« Reply #18 on: 2017-05-05, 17:54:05 »
Make sure add domain 'secondary dns' from client where locate to server2.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #19 on: 2017-05-05, 18:10:13 »
Sorry, i didn't understand this  :-\

Make sure add domain 'secondary dns' from client where locate to server2.
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #20 on: 2017-05-05, 19:37:52 »
Have you got "secondary dns" to work as slave DNS server with Kloxo-MR?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting up multiple DNS server
« Reply #21 on: 2017-05-06, 06:00:15 »
'Secondary DNS' available for all client. So, if we want domain in master also have 'secondary dns', select one of client where in slave server and click 'secondary dns'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #22 on: 2017-05-06, 08:24:43 »
I see. But when you have 2 servers, say server1 (main Kloxo-MR server and DNS master) and server2 (Kloxo-MR server, but added to server1 in "Servers"), all clients are created ONLY at server1, but we can choose to have web, MySQL, mail and DNS at server2. 
Now i add a client in server1 with web, MySQL and mail choosen at server2, but DNS will be local (server1).
When clients are added this way, they are NOT visible under clients in server2.
So i wonder how we can deal with "Secondary DNS" for this client in server2?




 

 




'Secondary DNS' available for all client. So, if we want domain in master also have 'secondary dns', select one of client where in slave server and click 'secondary dns'.
Kloxo-MR!

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #23 on: 2017-05-07, 12:07:32 »
@mustafa, now i also tried to use the "DNS Servers" Under Servers for a client, by adding localhost and server2 (IP addr) as the DNS servers.
In the DNS template in server1, i have A record for ns1 and  server1 IP and another A record for  ns2  and server2 IP.

When i create a client using this setup, Kloxo-MR is behaving totally strange when it comes to handling DNS servers. First, when a domain in creating under this client, it's DNS record is only created in server2.  Then when i create a subdomain, it gets added to server1 and server2. So now, server1 ONLY has DNS records for this sub domain, while server2 has for both main domain and subdomain! Very strange.
I want to have all on both servers.

And when i delete the domain, the DNS records in server2 is NOT DELETED, only in server1. What a TOTAL MESS this is.

Do you have any plans to fix this @mustafa, please? DNS is so critical when dealing with a control panel IMO.

I'm willing to contribute and donate to solving this issue and to create a fully working DNS master -master or master-slave setup.









« Last Edit: 2017-05-07, 12:22:33 by fossxplorer »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting up multiple DNS server
« Reply #24 on: 2017-05-07, 12:49:46 »
I am not testing 'secondary dns' on master-slave but master-master. I am not sure what's happen for master-slave for 'secondary dns'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #25 on: 2017-05-07, 13:10:30 »
Ok. Now i went back to using server2 as DNS master with rsync of zone files from server1.
It works ok for now.




I am not testing 'secondary dns' on master-slave but master-master. I am not sure what's happen for master-slave for 'secondary dns'.
« Last Edit: 2017-05-08, 09:12:02 by fossxplorer »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting up multiple DNS server
« Reply #26 on: 2017-05-08, 05:06:48 »
I will try change 'secondary dns' based on server (it's make possible change target server).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Setting up multiple DNS server
« Reply #27 on: 2017-05-08, 10:47:25 »
Yeah, a master Kloxo-MR server with master DNS zones should not have "secondary DNS" right?
Anyway i'm very much interested to help you test/support/discuss to get this supported :)

I will try change 'secondary dns' based on server (it's make possible change target server).
Kloxo-MR!

 


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

Page created in 0.029 seconds with 19 queries.

web stats analysis