<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">You can have your gw query your DNS server, and you have to add SRV records to your central DNS server (like with the jabber entries required to get
jabber sign-in to work). </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">Here’s the example of doing local DNS to static entries on the gateway itself, from the CVP 10 config guide. CVP is where I first started doing dns
srv on the local gateway, as I preferred breaking the call center myself instead of having the AD/DNS teams do it for me without me knowing ;-)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">===========</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">You can also configure the Gateway statically instead of using DNS. The following example shows how both the A and SRV type records
could be configured: <o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host <a href="http://cvp4cc2.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="1">cvp4cc2.cisco.com</a> 10.4.33.132<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host <a href="http://cvp4cc3.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3">cvp4cc3.cisco.com</a> 10.4.33.133<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host <a href="http://cvp4cc1.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">cvp4cc1.cisco.com</a> 10.4.33.131<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">For SIP/TCP:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://tcp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="7">tcp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="8">50
50 5060</a><a href="http://cvp4cc3.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="9">cvp4cc3.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://tcp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="10">tcp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="11">50
50 5060</a><a href="http://cvp4cc2.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="12">cvp4cc2.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://tcp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="13">tcp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="14">50
50 5060</a><a href="http://cvp4cc1.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="15">cvp4cc1.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">For SIP/UDP:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://udp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="16">udp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="17">50
50 5060</a><a href="http://cvp4cc3.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="18">cvp4cc3.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://udp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="19">udp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="20">50
50 5060</a><a href="http://cvp4cc2.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="21">cvp4cc2.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; line-height: 16.5pt;"><span style="background-color: rgba(255, 255, 255, 0);">ip host _sip._<a href="http://udp.cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="22">udp.cvp.cisco.com</a> srv <a href="tel:50%2050%205060" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="23">50
50 5060</a><a href="http://cvp4cc1.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="24">cvp4cc1.cisco.com</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"><o:p style="background-color: rgba(255, 255, 255, 0);"> ============</o:p></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"><span style="background-color: rgba(255, 255, 255, 0);">Then your dial-peer would have session target dns:<a href="http://cvp.cisco.com/" dir="ltr" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="25">cvp.cisco.com</a> which
would point to the SRV record, which would use the weight/priority values to choose the final host, and resolve the selected host to an IP using the normal "ip host name x.x.x.x" entry</span></p>
<div id="AppleMailSignature"><br>
</div>
<div id="AppleMailSignature"><br>
</div>
Loren<br>
</div>
<div><br>
On Mar 5, 2018, at 10:15 AM, Ed Leatherman <<a href="mailto:ealeatherman@gmail.com">ealeatherman@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>Hopefully a quick question - in a dial-peer on CUBE (16.3.5) how does session target dns: resolve to an IP? I've never used DNS as target before for this.</div>
<div><br>
</div>
<div>Does CUBE just do a query for the A record by default, or does it do a SRV query by default? I have a SIP provider that wants to start using SRV for their SBC(s) and I'm researching how to setup my end in IOS. If it doesn't query SRV default, where do
I toggle that behavior?</div>
<div><br>
</div>
<div>The command reference just says "Configures the host device housing the domain name system (DNS) server that resolves the name of the dial peer to receive calls."</div>
<div><br>
</div>
<div>I've found the knob to tell it what SRV format to use in the sip-ua section. </div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div><br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">Ed Leatherman<br>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>cisco-voip mailing list</span><br>
<span><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></span><br>
<span><a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br>
</div>
</blockquote>
</body>
</html>