You might think adding SRV records to your DNS zone is a simple task, which is of course correct when your DNS provider gives you a simple management portal for adding the SRV record’s priority, weight and port, but sometimes that’s not the case. But what do you do if your DNS provider doesn’t give you a portal that allows you to enter the SRV record’s priority, weight and port into boxes into the portal, or even more worse when you are expected to manually edit the zone file? In these case you’ll need to know how to construct an SRV record. If you want to know more, read on.
So, if you are, for example, hosting your DNS zones with GoDaddy, you’ll see something like this when you try to add a SRV record.
But what if you don’t see all the boxes requesting the different fields? In that case you’ll be asked for either the hostname and destination/points to/target or hostname, priority and destination/points to/target. The following guidance should help you successfully enter the SRV record correctly.
e.g. ‘_sip._tls’ or ‘_sipfederationtls._tcp’
[priority] [weight] [port] [target]
e.g. ‘100 1 443 sipdir.online.lync.com’ or ‘100 1 5061 sipfed.online.lync.com’
If you have a field to enter the priority then you can leave that out of what you enter into the destination/points to/target field.
If you are presented with the raw zone file, then you’ll need to construct records that look like this.
|_sip._tls||IN||SRV||100 1 443 sipdir.online.lync.com.|
|_sipfederationtls._tcp||IN||SRV||100 1 5061 sipfed.online.lync.com.|
Note the full stops on the end of the FQDNs; those say that this is the complete address and there is no need to add the name of the domain, i.e. the records is sipdir.online.lync.com not sipdir.online.lync.com.auricconsulting.co.za. That’s how you add SRV records when you’re not given a nice editor.