DNS Zone are not replicated

Discussion in 'Installation/Configuration' started by baptistebrus, Nov 26, 2018.

  1. baptistebrus

    baptistebrus New Member

    Hello,
    I have ns1 and ns2 who works properly, but my new ns3 has all data in his database and just a few pri.domain.ext in bind folder.
    So, it doesn't answer my DNS requests.
    Can you help me?
    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which software do you use for the zone replication?
     
  3. baptistebrus

    baptistebrus New Member

    I had setup ns3 "mirrored of" ns1 in ispconfig interface, and it's all.
     
  4. baptistebrus

    baptistebrus New Member

    Hello, do you have any idea what the problem is?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

  6. baptistebrus

    baptistebrus New Member

    Ok, you can see results
    [​IMG]
    [​IMG]
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Logs show nothing was done.
    Did you do a change first, then run server.sh so there is some change to copy to ns3?
     
  8. baptistebrus

    baptistebrus New Member

    I had resynchronized all DNS records, and i had seen all mysql operation in debug log.
    But still no pri.domain.ext file in bind folder.
     
  9. baptistebrus

    baptistebrus New Member

    Hello,
    Do you have any idea what my problem is?
    Have a nice day
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    As @Taleman mentioned, there were no changes to sync on the server you run the script. Did you run server.sh on the ns3 dns server?
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    And is ns3 set to be the mirror of ns1 in ispconfig under system > server services?
     
  12. baptistebrus

    baptistebrus New Member

    I had try to resync all DNS records, i had seen all " DEBUG - Replicated from master: REPLACE INTO" works, but nothings change.
    When I try to execute server.sh again, i had:
    [​IMG]
    And I think ns3 is setup as ns1 mirror:
    [​IMG]
    FYI, ns1 has 2636 row, ns2 has 2609 and ns3 has 2603 rows in their dns_rr database. But ns3 is still missing pri.zone.ext files.
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so the sync to the server worked, you just posted the result of a second script run which must be empty of course.

    Please post the result of:

    ls -la /usr/local/ispconfig/server/mods-enabled/

    and

    ls -la /usr/local/ispconfig/server/plugins-enabled/
     
  14. baptistebrus

    baptistebrus New Member

    Ok, so I have
    Code:
    ls -la /usr/local/ispconfig/server/mods-enabled/
    total 36
    drwxr-s---  2 root root 4096 nov.  21 10:38 .
    drwxr-s--- 13 root root 4096 nov.  21 10:38 ..
    lrwxrwxrwx  1 root root   64 nov.  21 10:38 client_module.inc.php -> /usr/local/ispconfig/server/mods-available/client_module.inc.php
    lrwxrwxrwx  1 root root   62 nov.  21 10:38 cron_module.inc.php -> /usr/local/ispconfig/server/mods-available/cron_module.inc.php
    lrwxrwxrwx  1 root root   66 nov.  21 10:38 database_module.inc.php -> /usr/local/ispconfig/server/mods-available/database_module.inc.php
    lrwxrwxrwx  1 root root   61 nov.  21 10:38 dns_module.inc.php -> /usr/local/ispconfig/server/mods-available/dns_module.inc.php
    -rwxr-x---  1 root root   45 nov.  21 13:54 empty.dir
    lrwxrwxrwx  1 root root   69 nov.  21 10:38 rescue_core_module.inc.php -> /usr/local/ispconfig/server/mods-available/rescue_core_module.inc.php
    lrwxrwxrwx  1 root root   64 nov.  21 10:38 server_module.inc.php -> /usr/local/ispconfig/server/mods-available/server_module.inc.php
    ls -la /usr/local/ispconfig/server/plugins-enabled/
    total 36
    drwxr-s---  2 root root 4096 nov.  21 10:38 .
    drwxr-s--- 13 root root 4096 nov.  21 10:38 ..
    lrwxrwxrwx  1 root root   67 nov.  21 10:38 backup_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php
    lrwxrwxrwx  1 root root   65 nov.  21 10:38 bind_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/bind_plugin.inc.php
    -rwxr-x---  1 root root   45 nov.  21 13:54 empty.dir
    lrwxrwxrwx  1 root root   69 nov.  21 10:38 firewall_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/firewall_plugin.inc.php
    lrwxrwxrwx  1 root root   75 nov.  21 10:38 mysql_clientdb_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php
    lrwxrwxrwx  1 root root   77 nov.  21 10:38 network_settings_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/network_settings_plugin.inc.php
    lrwxrwxrwx  1 root root   76 nov.  21 10:38 software_update_plugin.inc.php -> /usr/local/ispconfig/server/plugins-available/software_update_plugin.inc.php
     
  15. baptistebrus

    baptistebrus New Member

    Hello,
    Have you got an idea about my problem?
    Thanks
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page