[Dnsmasq-discuss] Syntax for srv-records
Simon Kelley
simon at thekelleys.org.uk
Thu Jan 18 21:28:14 GMT 2018
My guess is that you need to add the domain to the last two.
eg _sip._tcp gets the domain (as specified to dnsmasq by the domain
keyword) added automatically, so assuming
domain=guido.org
srv-host=_sip._tcp,sipx2.example.org,5060,20,10
You'll get a SRV records called
_sip._tcp.guido.org
once you start adding anything else, dnsmasq assumes you're specifying
the domain, so
srv-host="_sip._tcp.rr",sipx2.example.org,5070,20,10
gives you a record called _sip._tcp.rr, but you probably want a record
called _sip._tcp.rr.guido.org, so you need to specify that completely
srv-host="_sip._tcp.rr.guido.org",sipx2.example.org,5070,20,10
Cheers,
Simon.
On 16/01/18 12:44, Guido Schmidt wrote:
> I'm trying to set up some srv-records for sip. These are the records I
> have in bind syntax:
>
> ;; RECORDS: rr
> _sip._tcp IN SRV 30 10 5060 sipx2
> _sip._udp IN SRV 30 10 5060 sipx2
> _sips._tcp IN SRV 30 10 5061 sipx2
> _sip._tls IN SRV 30 10 5061 sipx2
> _sip._tcp.rr IN SRV 30 10 5070 sipx2
> _sip._tcp.rr.sipx2 IN SRV 10 10 5070 sipx2
>
>
> I successfully managed to translate the first four to
>
> srv-host=_sip._tcp,sipx2.example.org,5060,20,10
> srv-host=_sip._udp,sipx2.example.org,5060,20,10
> srv-host=_sips._tcp,sipx2.example.org,5061,20,10
> srv-host=_sip._tls,sipx2.example.org,5061,20,10
>
>
> But the last two won't work:
>
> srv-host="_sip._tcp.rr",sipx2.example.org,5070,20,10
> srv-host="_sip._tcp.rr.sipx2",sipx2.example.org,5070,20,10
>
> Can someone enlighten me what would be the right syntax?
>
> Guido
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180118/0bcea540/attachment.sig>
More information about the Dnsmasq-discuss
mailing list