Registering to proxy using domain name

Hi,

I set up a NAP that requires proxy registration. If the proxy address is set to the domain name, the carrier never receives the registration request. When I change it to the IP address, the registration completes normally.

here is my tbsip.log file.. the part that it is doing the dns lookup

02nd, 17:26:33.001-0500 TBLV2 OnDnsQuery: Intf=voip0 FQDN=domain.com type=1 QueryID=1 (PollingEnable=TRUE) 
02nd, 17:26:33.001-0500 TBLV2 OnDnsQuery : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=64 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=domain.com type=NAPTR 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: domain.com type=NAPTR found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=80 type=NAPTR (0,0) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeNaptrRes: domain.com_voip0_0xcb000001_0x00000001 state=80 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=128 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=_sip._udp.domain.com type=SRV 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: domain.com type=SRV found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=144 type=SRV (3,0) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeSrvRes  : domain.com_voip0_0xcb000001_0x00000001 state=144 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=144 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=_sip._tcp.domain.com type=SRV 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: domain.com type=SRV found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=144 type=SRV (2,0) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeSrvRes  : domain.com_voip0_0xcb000001_0x00000001 state=144 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=144 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=_sips._tcp.domain.com type=SRV 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: domain.com type=SRV found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=144 type=SRV (1,0) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeSrvRes  : domain.com_voip0_0xcb000001_0x00000001 state=144 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=192 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=sip.TOR1SBC01.domain.com type=A 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: sip.TOR1SBC01.domain.com type=A found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=208 type=A (0,2) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=208, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.001-0500 TBLV1 get ip address 0x34C32D60 from dns server 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=208 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=sip.private.TOR1SBC01.domain.com type=A 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: sip.private.TOR1SBC01.domain.com type=A found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=208 type=A (0,1) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=208, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.001-0500 TBLV1 get ip address 0x240018AC from dns server 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=7 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: domain.com_voip0_0xcb000001_0x00000001 Nb result=4 
02nd, 17:26:33.001-0500 TBLV1 SER : DnsServer: SendResponsePrivate 
02nd, 17:26:33.001-0500 TBLV1 SetPollingTimer : domain.com_voip0_0xcb000001_0x00000001 start TTL=301 seconds 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=sip.TOR1SBC01.domain.com type=A 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: sip.TOR1SBC01.domain.com type=A found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=8 type=A (0,2) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=8, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.001-0500 TBLV1 get ip address 0x34C32D60 from dns server 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=8 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 delete in progress 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=sip.private.TOR1SBC01.domain.com type=A 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: sip.private.TOR1SBC01.domain.com type=A found in cache 
02nd, 17:26:33.001-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=8 type=A (0,1) 
02nd, 17:26:33.001-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=8, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.001-0500 TBLV1 get ip address 0x240018AC from dns server 
02nd, 17:26:33.001-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.001-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=7 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: domain.com_voip0_0xcb000001_0x00000001 Nb result=4 
02nd, 17:26:33.001-0500 TBLV1 SER : DnsServer: SendResponsePrivate 
02nd, 17:26:33.002-0500 TBLV1 SetPollingTimer : domain.com_voip0_0xcb000001_0x00000001 start TTL=301 seconds 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=mtltls.voip.domain.com type=A 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: mtltls.voip.domain.com type=A found in cache 
02nd, 17:26:33.002-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=8 type=A (0,3) 
02nd, 17:26:33.002-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=8, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.002-0500 TBLV1 get ip address 0x54BEDFCE from dns server 
02nd, 17:26:33.002-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.002-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=8 
02nd, 17:26:33.002-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 delete in progress 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=siptls.tor1sbc01.voip.domain.com type=A 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: siptls.tor1sbc01.voip.domain.com type=A found in cache 
02nd, 17:26:33.002-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=8 type=A (0,2) 
02nd, 17:26:33.002-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=8, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.002-0500 TBLV1 get ip address 0x33C32D60 from dns server 
02nd, 17:26:33.002-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.002-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=8 
02nd, 17:26:33.002-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 delete in progress 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: Intf=voip0 FQDN=tortls.voip.domain.com type=A 
02nd, 17:26:33.002-0500 TBLV2 AddDnsQuery: tortls.voip.domain.com type=A found in cache 
02nd, 17:26:33.002-0500 TBLV1 ServiceQProcess: domain.com_voip0_0xcb000001_0x00000001 state=8 type=A (0,1) 
02nd, 17:26:33.002-0500 TBLV1 AnalyzeAResult : domain.com_voip0_0xcb000001_0x00000001 state=8, NbAnswers = 1, NbSrvResult = 3 
02nd, 17:26:33.002-0500 TBLV1 get ip address 0x33C32D60 from dns server 
02nd, 17:26:33.002-0500 TBLV2 ProcessServiceQueryResult : DNS group is found 
02nd, 17:26:33.002-0500 TBLV1 ServiceQState  : domain.com_voip0_0xcb000001_0x00000001 state=7 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.2:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:TCP service:SIP ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=206.xx.xx.8:5061 proto:TCP service:SIPS ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.5:5061 proto:TCP service:SIPS ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: ip=96.xx.xx.5:5061 proto:TCP service:SIPS ttl:300 
02nd, 17:26:33.002-0500 TBLV2 SendDnsResponse: domain.com_voip0_0xcb000001_0x00000001 Nb result=7 
02nd, 17:26:33.002-0500 TBLV1 SER : DnsServer: SendResponsePrivate 
02nd, 17:26:33.002-0500 TBLV1 SetPollingTimer : domain.com_voip0_0xcb000001_0x00000001 start TTL=301 seconds 

What I am noticing is this:

02nd, 17:26:33.001-0500 TBLV2 SendDnsResponse: ip=172.24.0.36:5060 proto:UDP service:SIP ttl:300 
02nd, 17:26:33.001-0500 TBLV2 AddDnsQuery: sip.private.TOR1SBC01.domain.com type=A found in cache 

I am not sure why we are getting the private IPs here, and most likely TB is sending the request to the private IP rather than the public.. or is it possible that this is not working because the domain type is SRV.

DNS configuration:

Just to confirm that I have other NAPs using FQDN without any issue, but this is the first time we are trying to register to a proxy using FQDN.

I am running ProSBC: 3.1.147.16

Any idea what could cause this?

Thanks

Hi Link123,

Thank you for the logs and version details.

Looking at the log snippet you provided: AddDnsQuery: sip.private.TOR1SBC01.domain.com type=A found in cache

This actually confirms what we suspect is a known issue (TB-6658). The system is jumping straight to an A-record lookup (the IP address) rather than querying the SRV record first.

In many environments, especially with SBCs, the registration details (like the correct port and priority) are stored in the SRV record. Since the application is currently skipping that SRV query and relying only on the A-record, the registration fails.

You can keep an eye on our release notes for a fix regarding SRV-first lookup logic for registration requests." TB-6658.

-Support

Hi Link123,

I am dropping my email here for you, send me your company name and info. I will add this to our open trouble ticket so it will notify me when the fix is in. :slight_smile:

dpuckett@telcobridges.com

-Support