<p>Hi <a href="https://github.com/vladpaiu" class="user-mention">@vladpaiu</a>,</p>

<p>I just pushed a dummy DNS Server on <code>new.esya.me</code> that serves the right format for you; you can try this :</p>

<pre><code># dig _sip._udp.example.org @new.esya.me SRV
;; QUESTION SECTION:
;_sip._udp.example.org.     IN  SRV

;; ANSWER SECTION:
_sip._udp.example.org.  600 IN  SRV 1 1 5062 hostA.example.org.
_sip._udp.example.org.  600 IN  SRV 1 1 5061 hostB.example.org.

;; AUTHORITY SECTION:
dummy.          600 IN  NS  ignoreme.

;; ADDITIONAL SECTION:
hostA.example.org.  600 IN  A   1.1.1.1
hostA.example.org.  600 IN  A   2.2.2.2
</code></pre>

<p>You should therefore be able to do a simple redirect on <code>example.org</code> and opensips will automatically append <code>_sip._udp</code>. This server will have empty answers for anything other than SRV lookup for <code>_sip._udp.example.org</code> and is listening on both UDP and TCP. I've included an authority section just to make sure that it is properly skipped by the client.</p>

<p>Best,<br>
Tristan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/675#issuecomment-148022976">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcibhhnmfYFzlEYlMxH10D_4zwRA1oks5o7jPdgaJpZM4GOZsU.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/675#issuecomment-148022976"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>