Vytvoření položky v DNS záznamu - create dns record
<?php // pridani A pro smtp.domenka.cz $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "type" => "A", "name" => "smtp", "data" => "5.6.7.8", "ttl" => 1800 )); // pridani CNAME www3.domenka.cz $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "type" => "CNAME", "name" => "www3", "data" => "domenka.cz", "ttl" => 1800 )); // pridani smtp serveru $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "type" => "MX", "data" => "20 smtp.domenka.cz", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "type" => "TXT", "name" => "nazev", "data" => "pozadovany textovy retezec", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "name" => "_sip._tcp", "type" => "SRV", "data" => "0 5 5060 sipserver.example.com", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "name" => "", "type" => "CAA", "data" => "0 issue digicert.com", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "name" => "admin", "type" => "SSHFP", "data" => "1 1 20747439c525ee681c8741cc687064eac284626e", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.sk", "name" => "", "type" => "NAPTR", "data" => "100 10 s x-eduroam:radius.tls _radsec._tcp.eduroam.cz", "ttl" => 1800 )); $result = $client->sendCommand("create dns record",array( "domain" => "domenka.cz", "name" => "", "type" => "TLSA", "data" => "0 0 1 5f0fb5166581aae64a101c1583b1bebe74e814a91e7a8a14ba1e835d78f6e9e7", "ttl" => 1800 )); ?>