Add DNS Secondary by API

Discussion in 'Developers' Forum' started by themark, Mar 21, 2016.

  1. themark

    themark Member

    Hello,

    there is an API in order to add automatically an secondary DNS for a domain on ispconfig?
    Because i'm searching on the code but i'm not finding nothing about
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no need to add a secondary DNS record when you use the ispconfig mirroring feature between primary and secondary dns server.
     
  3. themark

    themark Member

    Yes, but at this time the secondary DNS server is also the ispconfig master of that particular cluster, so we can't use mirroring here.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I know, there are no api functions for slave zones yet, so you might have to add them to remoting.inc.php if you need them.
     
  5. themark

    themark Member

    Ok till, thank you. I'm gonna try in this way.
    ty
     

Share This Page