Multiple DNS Servers

Discussion in 'Installation/Configuration' started by Çağrı Aksu, Oct 1, 2025 at 6:57 PM.

  1. Çağrı Aksu

    Çağrı Aksu New Member

    Hi all,

    I believe I'm a noob at this point for asking this but I've looked very deep (maybe at the wrong place) but couldn't find a solution so please bear with me. I have installed ISPC on 4 different servers with all of them having all the services available, but only the first one have the control panel.
    I did it this way because I want to load balance my domains accross those servers, and each domain will completely live on a single server (web, db, mail etc.) while the dns records will be on all servers.
    Now when I add a domain, the dns records got written to all servers, but other than the server that the domain lives, no server is answering to DNS queries, except if its coming from the main server.
    I tried selecting "mirror of" option, but this axes my original goal of having 4 different servers hosting different domains thing. I tried adding the second server as a secondary dns zone, but this makes it even weird, beacause SOA's got misaligned this way etc...

    I couldn't find a solution for my problem, maybe there is none? Please give me some rope, I'm about to lose my sanity :D
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do not use mirroring for DNS. Create a primary zone on the server that shall be the master, and then create secondary zones on the other ones. The systems where you make the secondary zones will automatically pull the data from the master BIND server. The DNS zone creation is all done through the control panel of your main server, if you have installed the system as an ISPConfig multiserver setup.
     
  3. Çağrı Aksu

    Çağrı Aksu New Member

    Hi Till, thanks for the quick reply. To make sure that I've got your solution correctly let me ask, do I need to install the 2nd 3rd and 4th server with the web panel as well? When installing the 1st server do I need to select Yes when the question "
    Shall this server join an existing ISPConfig multiserver setup" comes up? and also when creating the secondary zones from the 1st server (if I got this part right) should I create a secondary zone for each of my servers? I have 4 nameservers, and the secondary zone creation only asks for two, but my template already has 4 ns setup, will that be a problem?

    Thank you very much for your help in advance!

    Edit: I did add the second and third servers as secondary zones from the panel, and they started responding, but their SOA's do not match :(
     
    Last edited: Oct 1, 2025 at 8:29 PM

Share This Page