IspConfig API dns

Discussion in 'General' started by agencep, Oct 12, 2015.

  1. agencep

    agencep New Member

    Hello,
    I use this php code to connect to my ISPCONFIG SERVER
    PHP:
    $username '******';
    $password '*******';
    $soap_location 'https://*******:8080/remote/index.php';
    $soap_uri 'https://*******:8080/remote/';

    $client = new SoapClient(null, array(
    'location' => $soap_location,'uri' => $soap_uri
    ));
    try {
    //* Login to the remote serverif ($session_id = $client->login($username, $password)) {
    echo 'Logged into remote server sucessfully. The SessionID is ' $session_id;}
    } catch (
    SoapFault $e) {
    die(
    'SOAP Error: ' $e->getMessage());echo "Please contact the server administator";}
    what I want to do is:
    • Insert a TXT record into DNS to all my domains.
    how I can do, please? because I can not find anything on the web ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can find the api documentation and examples in the remote_client folder of the ISPConfig tar.gz file.
     

Share This Page