ISPConfig as secondary DNS server

Discussion in 'Installation/Configuration' started by rusty, Jul 12, 2010.

  1. rusty

    rusty Member

    Hi

    I use a third party DNS service, and would like my ISPConfig setup to act as a secondary DNS server receiving changes to the records from the primary. Can this be done?

    Allow zone transfers to these IPs (comma separated list) seems to be for when the third party is secondary and ISPconfig is primary. Is that right?

    Not sure what the purpose of Also Notify and Update ACL is.

    My setup:
    The Perfect Server - Ubuntu 10.04 [ISPConfig 3]
    ISPConfig 3.0.2.1
    Using BIND not myDNS

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Currently ispconfig can only be the primary dns server or the secondary dns if the primary dns runs also ispconfig.

    But we are working to add slave support for non ispconfig servers as well.

    At the moment, I would recommend to use the ispconfig server as primary.

    yes.

    This will notify a secondary dns thats runs BIND automatically if the record is changed in ispconfig.
     
  3. harshu294

    harshu294 Member

    Hi,
    I had installed ISPConfig 3 only dns on centos 7( two server primary and secondary)
    My primary dns is working fine but zones are not getting transferred to secondary DNS.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Both servers are connected in a multiserver setup where the primary dns is the master? you set the second server to be a mirror of the first one udner System > Server services?
     
  5. harshu294

    harshu294 Member

    This i alredy set in admin panel.
     
  6. harshu294

    harshu294 Member

    My /etc/named.conf is blank.
    is it correct?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    No. But this file is not edited or managed by ispconfig. soy ou must have a problem with your base setup. Check dns setup chapter of the centos 7 perfect server tutorial for bind setup and it might be necessary to run an ispconfig update with "reconfigure services" afterward.
     
  8. harshu294

    harshu294 Member

    I reconfigured servers by using centos7 perfect guide.But now i am getting apache 2 test page instead of ISPConfig web interface.
     
  9. harshu294

    harshu294 Member

    I installed below packages on Primary

    #yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel

    at now i am getting ISPconfig web interface.
     
  10. harshu294

    harshu294 Member

    Still the secondary dns is not syncing with primary
     
  11. harshu294

    harshu294 Member

    I am getting below error in logs of secondary.
    client ip of pri. dns #43383: received notify for zone 'abc.com': not authoritative
     
  12. harshu294

    harshu294 Member

    Can i make other DNS (bind) as primary and ispconfig as secondary?
    if yes, can i get all the data from primary server(zone files) to Ispconfig server by selecting system--------->server services----->is mirror of server option.
    is it possible?
     
  13. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

     
  14. harshu294

    harshu294 Member

    But this is old post. In 2010 till replied this.i already seen it.
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Primary and secondray dns have to run ispconfig. Please see multiserver setup guides on ispconfig.org documentation page.
     
  16. harshu294

    harshu294 Member

    Hi,
    Both primary and secondary DNS is having ISPconfig 3 with centos.
    I m getting below error in secondary after adding zone in to primary
    ns2 named[6052]: client (IP of primary dns server)#57633: received notify for zone 'example.com': not authoritative
    what should i do?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that the dns zone file has been written on the slave server. If not, follow the ispconfig debug instructions to check why your slave cant connect to the master server.
     
  18. harshu294

    harshu294 Member

    Hi,
    i enabled the ispconfig debug.i am gettiong below error.
    DB::__construct Access denied for user 'ispcsrv2'@'2.2.2.2' (using password: YES)
    PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'ispcsrv2'@'2.2.2.2' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 72
     
  19. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Check the mysql-permissions for [email protected] on the master. And make sure, that ispcsrv2 is allowed to connect from the ip 2.2.2.2 and mysql on the master is not bind to localhost.
     
  20. harshu294

    harshu294 Member

    I have two ip configured on both master and slave.
    one ip is our local(infra)Ip 2.2.2.2 and another IP is static IP for internet 4.4.4.4.
    I want that mysql should connect through IP 2.2.2.2 not else.
    Wherein i saw that static IP 4.4.4.4 is already having permission to ispcsrv2.
    Because for 4.4.4.4 i need to open port in my firewall ,which i want to avoid.
    I seen that user ispcsrv2 is getting created by ISP config installer.
    How i can manage this?
     

Share This Page