cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1725
Views
10
Helpful
12
Replies

CUCM9.1 and CUPS9.1 DNS SRV Records and DNS Issue

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Guys,

I am trying to use DNS SRV records with  my CUPS9.1 sip trunk. However CUCM is not able to resolve the dns name to an ip address..

On CUCM when I do utils ping hostname, it does resolve it to the correct address and ping is succesful. However When I use either DNS name or DNS SRV name in my sip trunk, it fails. The logs show this..

+++++++++WITH DNS SRV Records ++++++++++

00010367.003 |14:56:31.883 |AppInfo  |SIPDns - wait_SdlDnsSrvRecordRsp: (DNS A or AAAA query called as SRV query Fail):hostname=presence.uclab.com, ReqType=1,serversused=0

00010368.000 |14:56:31.883 |SdlSig   |SdlDnsSrvRecordRsp                     |wait                           |SIPDns(1,100,73,1)               |SdlResolverService(1,100,5,1)    |1,100,73,1.8^*^*                         |*TraceFlagOverrode
00010368.001 |14:56:31.883 |AppInfo  |SIPDns - wait_SdlDnsSrvRecordRsp: Received SdlDnsSrvRecordRsp ReqCode is  -1
00010368.002 |14:56:31.883 |AppInfo  |SIPDns - copySdlDnsSrvRecordRspToSpi: ReqType is  1
00010368.003 |14:56:31.883 |AppInfo  |SIPDns - wait_SdlDnsSrvRecordRsp: (DNS A Query Fail)

++++++++ WITH DNS used only++++++++++

AppInfo  |SIPDns - wait_SdlDnsSrvRecordRsp: (DNS A Query Fail)

00023074.000 |16:51:26.840 |SdlSig   |DMPropagateRegister                    |initialized                    |DMPropagation(1,100,205,1)       |DeviceManager(1,100,199,1)       |1,100,37,1.29^*^*                        |[T:N-H:0,N:0,L:0,V:0,Z:0,D:0]  Name=CUPSTRUNK Cepn=6a8ff5c1-6d83-05fd-9448-1c3185d7be06 Protocol=SIP Trunk Pid=1,100,74,6

00023075.000 |16:51:26.840 |SdlSig   |SIPSPISignal                           |wait                           |SIPHandler(1,100,72,1)           |SIPDns(1,100,73,1)               |1,100,73,1.43^*^*                        |*TraceFlagOverrode

00023075.001 |16:51:26.840 |AppInfo  |//SIP/SIPHandler/ccbId=0/scbId=0/wait_SIPSPISignal: Received DNS query response with no hosts for context_id=0

This is quite puzzling because using nslookup, I have checked that the SRV records work and infact my jabber clients loggin using SRV records.

CUCM has DNS ip address configured and when doing pings can resolve dns host names...

Any thougths please?

      

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"       

Please rate all useful posts
1 Accepted Solution

Accepted Solutions

Definitely sounds like something on the DNS then.  Do you have reverse lookup properly defined?

Chris

View solution in original post

12 Replies 12

Chris Deren
Hall of Fame
Hall of Fame

Deji,

Can you post a screen shot of your DNS record?

So SIP trunk to CUPS server is configured with SRV record of "presence.uclab.com", is "presence" a sub-domain in uclab.com domain?  Is it TCP or UDP, and I am assuming it is built with port 5060?

Chris

Chris,

Yes presence is a sub domain in uclab.com..It is TCP and built with port 5060..Attached are the screen shots...

Thanks

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Can you post output of nslookup?

Also, did you change the SRV domain name under Proxy service parameters in IMP server?

Chris

Yes Chris..I configured presence.uclab.com as my SRV Cluster Name

Attached is result of nslookup from a machine in the domain

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Hmm, all looks good.

Is the SIP security profile configured to use TCP?

Is it possible for you for testing to add the SRVs to the domain not subdomain and then point SIP trunk to uclab.com?

Have you tried pointing to FQDN of one of the IMP servers just to see if DNS works for it?

HTH,

Chris

Using the FQDN od the IM&P server doesnt work either. This is what is puzzling. The same hostname can be resolved when you do a ping but cucm cant resolve it when it attempts to send a PUBLISH for phone offhook status.

I have also tried using the parent domain uclab.com..No joy!

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Attached also SRV cluster name config...and ping from cucm to hostnale of IM and presence server

I just think that the issue is CUCM not resolving DNS name. Even when I change destination  on the sip trunk to cimpspub.uclab.com

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Does it work with IP address?

Chris

Yes!

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Definitely sounds like something on the DNS then.  Do you have reverse lookup properly defined?

Chris

Chris (+15 all round)..You are my star!!! Would you believe it, I created a reverse lookup for my backup IM&P server which is not up at the moment and I dint create one for my active server. It muyst have been a mistake...Now the logs look like this..

00053007.001 |15:27:24.217 |AppInfo  |SIPDns - convertQueryType: Converted Query ReqType 33

00053007.002 |15:27:24.217 |AppInfo  |SIPDns - copySpiToSdl: DNS req type 8, query preferred type 0

00053008.000 |15:27:24.218 |SdlSig   |SdlDnsSrvRecordRsp                     |wait                           |SIPDns(1,100,73,1)               |SdlResolverService(1,100,5,1)    |1,100,73,1.152^*^*                       |*TraceFlagOverrode

00053008.001 |15:27:24.218 |AppInfo  |SIPDns - wait_SdlDnsSrvRecordRsp: Received SdlDnsSrvRecordRsp ReqCode is  0

00053008.002 |15:27:24.218 |AppInfo  |SIPDns - printRRlist: ***SRV Record: priority 0 weight 0 port 5060 name cimpspub.uclab.com

SIPDns - copySdlGetHostByNameRspToSpi: aFamily 2

00053009.002 |15:27:24.219 |AppInfo  |SIPDns - wait_SdlGetHostByNameRsp: hostname=cimpspub.uclab.com, IP=192.168.131.15:5060, next query=0

And then I get my Publish message sent out..Cool

00053012.001 |15:27:24.219 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 192.168.131.15 on port 5060 index 201

[955,NET]

PUBLISH sip:bbanks@uclab.com:5060 SIP/2.0

Via: SIP/2.0/TCP 192.168.131.11:5060;branch=z9hG4bK5029cbda79

From: ;tag=230109270

To: <>bbanks@uclab.com>

Call-ID:

82fe9b80-1301c8dc-22-b83a8c0@192.168.131.11

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

Chris,

Another thing I noted is that phone presence works even without defining the SRV Cluster name

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts