update a record automatically

Discussion in 'Installation/Configuration' started by hamdi, Jul 26, 2022.

  1. hamdi

    hamdi New Member

    Hi everyone,
    Is there any way to update only one 'A' record of one DNS zone of one domain in ISPConfig 3 programmatically via php script?

    I'm searching for a way so the DNS protocol can naturally hold a 2nd ip adress for an A record as backup, When searching for this I only saw results on backup nameservers (NS records).

    If there is a way for DNS to support backup A records, so that users will be directed to a working server in case the primary server is not responding?
    [​IMG]
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    yes, by using ispconfig remote api: V

    You can have multiple A-Records in DNS, that's called round-robin DNS. But this means that clients get directed randomly to both servers as DNS can not detect if the target of the a-record might have a failure. so what you are seeking is more a load balancer which detects the availability of services than dns.
     

Share This Page