03-31-2023 02:49 AM
Hello,
on our SBC, I want to have a sip trunk to our partner. I had configured this over ipv4 and this worked perfect.
Now our partner wants us to do send the calls to the DNS name of their SBC's so they can add and remove SBC's if needed, without having to contact us.
We also have VRF's configured on this SBC so I think there is something misconfigured.
When I do ping vrf vrfname domain-name , the domain-name is resolved.
In the dial-peer, I have configured session target dns:domain-name:5060. In the debug output, I can see that the correct dial-peer is selected, but the call fails. I see no outgoing call legs.
Does anybody now where I have made a mistake?
03-31-2023 03:20 AM
Have a look on the below guide.
03-31-2023 04:37 AM
configuration seems ok if I compare it to this guide
VRF with ip is working fine, only when I use DNS, the calls fail.
I also checked this guide: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dns/configuration/xe-16-5/dns-xe-16-5-book/vrf-aware_dns.html
03-31-2023 05:30 AM
If you could share your running configuration, without any sensitive information, we could easier help you with verifying the correctness of it.
03-31-2023 05:44 AM
03-31-2023 07:38 AM - edited 03-31-2023 07:39 AM
I think that you should try with a IOS version that is much newer than 16.4 as that is about ancient. As the 1000V is limited to a maximum version it would be advisable to upgrade to an 8000V instead. You can do that by simply upgrading the IOS on the virtual router to an IOS version for a 8000V. That will automatically change the hardware from a 1000V to a 8000V. Version 17.6.4 would be my go to choice as that is proven to be a stable release.
03-31-2023 05:54 AM - edited 03-31-2023 05:54 AM
Have you check if the host name gets resolved to an IP with the vrf?
As this works with the IP, I assume it’s not resolving to IP address of the destination.
03-31-2023 05:57 AM
yes, when I do ping vrf vrfname domain-name I see the correct ip address
03-31-2023 05:58 AM
I think the issue is missing srv
have a look on the below.
03-31-2023 06:05 AM
I have read that SRV is not used when you configure the port number like this:
session target dns:domain-name:5060
03-31-2023 06:09 AM
when I add the domain server globally, it works, but I would like to be able to give different DNS servers to different vrf's
03-31-2023 06:19 AM
Do you need source interface
ip domain lookup vrf ShurgardNixxisSbcVRF source-interface GigabitEthernet2.3691
on ip domain lookup command ?
03-31-2023 06:29 AM
I have tried with and without source-interface... same result
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide