9;ttl&#39;</span>  <span class="o">=&gt;</span> <span class="mi">3600</span><span class="p">,</span>
    <span class="s1">&#39;priority&#39;</span> <span class="o">=&gt;</span> <span class="mi">5</span>
<span class="p">));</span>
<span class="nv">$domain</span><span class="o">-&gt;</span><span class="na">addRecord</span><span class="p">(</span><span class="nv">$mxRecord</span><span class="p">);</span>

<span class="c1">// add NS record</span>
<span class="nv">$nsRecord</span> <span class="o">=</span> <span 