[OpenSIPS-Devel] [opensips] Use the Additional section of SRV queries instead of doing extra requests (#675)

Trevor Steyn trevor at webon.co.za
Wed Oct 14 13:07:17 CEST 2015


Hi Vlad,

You can use the following record, not sure what you need it for as i
understand the additional sections show the NS for queried domain.

_sip._udp.salinux.za.net

The domains don't go anywhere but it should serve your purpose.

Trying "_sip._udp.salinux.za.net"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6456
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;_sip._udp.salinux.za.net.    IN    SRV

;; ANSWER SECTION:
_sip._udp.salinux.za.net. 600    IN    SRV    10 10 5060
sip3.salinux.za.net.
_sip._udp.salinux.za.net. 600    IN    SRV    10 10 5060
sip4.salinux.za.net.
_sip._udp.salinux.za.net. 600    IN    SRV    10 10 5060
sip1.salinux.za.net.
_sip._udp.salinux.za.net. 600    IN    SRV    10 10 5060
sip2.salinux.za.net.

Regards
Trevor Steyn

On 14/10/2015 10:48, vladpaiu wrote:
>
> Hello,
>
> This would be a great feature to implement - though I can't really
> find such a SRV record ( with additional records ) out in the wild, in
> order to have something to test against.. Could you please provide
> such a SRV DNS record that I can test with ?
>
> Best Regards,
> Vlad
>
>> Reply to this email directly or view it on GitHub
> <https://github.com/OpenSIPS/opensips/issues/675#issuecomment-147978818>.
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151014/506b47ae/attachment.htm>


More information about the Devel mailing list