[OpenSIPS-Users] is_from_gw() DNS Names

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Feb 22 14:18:51 UTC 2022


+1 , good point Ovidiu !!

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp
   https://www.opensips.org/Training/Bootcamp

On 2/22/22 3:58 PM, Ovidiu Sas wrote:
> Hi Mark,
>
> Take a look at the ds_list mi command. Under resolved_addresses you
> should see which IPs and ports are used for matching the given FQDN.
> This should help in troubleshooting your issue.
>
> -ovidiu
>
> On Tue, Feb 22, 2022 at 3:57 AM Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
>> Hi Mark,
>>
>> If a gw is defined via FQDN, that will by DNS resolved (NAPTR, SRV, A records) when DB data is (re)loaded by DR module, and used later for such checks. All found IPs (from DNS) will be stored on the GW.
>>
>> How do you specify the GW address in DB and what kind of DNS records do you have for it ?
>>
>> Best regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>    https://www.opensips-solutions.com
>> OpenSIPS eBootcamp
>>    https://www.opensips.org/Training/Bootcamp
>>
>> On 2/18/22 6:04 PM, Mark Farmer wrote:
>>
>> Hi everyone
>>
>> I am using is_from_gw() to match against a group of gateways specified by DNS names which resolve to multiple IP addresses but it seems to be failing to match.
>>
>> Is this supported functionality or do I need to do something else in this case?
>>
>> Thanks and regards
>> Mark.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list