Marius Burkard
2016-07-08 9bcd2fd54728b9e634442f584268da03acaea633
commit | author | age
413d3b 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
00333e 2 <html><head><title>ISPCOnfig 3 remote API documentation</title>
413d3b 3
T 4   
5
6   
7   
8   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9   <link rel="stylesheet" type="text/css" href="definitionen.css">
10   <style type="text/css">
11   </style></head>
12
13 <body>
14 <div style="padding:40px">
15 <h1>dns_srv_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
16 <br>
17 <p class="headgrp">Description: </p>
18 <p class="margin"> Adds a dns server location record if <em>type</em> is <em>srv</em>.</p><br>
19 <p class="headgrp">Input Variables: </p> 
20 <p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
21 <p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
22 <p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
23 <p class="margin"> zone&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
24 <p class="margin"> name&nbsp;&nbsp;(<span class="paratype">varchar(64)</span>)</p>
25 <p class="margin"> type&nbsp;&nbsp;(<span class="paratype">enum('a','aaaa','alias','cname','hinfo','mx','naptr','ns','ptr','rp','srv','txt')</span>)</p>
26 <p class="margin"> data&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
27 <p class="margin"> aux&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
28 <p class="margin"> ttl&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
29 <p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
30 <p class="margin"> stamp&nbsp;&nbsp;(<span class="paratype">timestamp</span>)</p>
31 <p class="margin"> serial&nbsp;&nbsp;(<span class="paratype">int(10)</span>)</p>
32 <p class="headgrp">Output: </p> 
33 <p class="margin"> Returns the ID of the newly added srv resource record.</p>
34 <!--<b>Output:</b> 
35 <p style="margin-left:100px">Gives a record of </p> -->
36 </div>
37
38 </body></html>