¶</a></h2>
<p>The first thing you will need to do is instantiate a new object and set the
primary <tt class="docutils literal"><span class="pre">A</span></tt> record for the DNS domain, like so:</p>
<div class="highlight-php"><div class="highlight"><pre><span class="c1">// get empty object</span>
<span class="nv">$domain</span> <span class="o">=</span> <span class="nv">$service</span><span class="o">-&gt;</span><span class="na">domain</span><span class="p">();</span>

<span class="c1">// add A record</span