An SRV-record is a record that does not apply to a lot of websites but is used when specific services need to be reached on a domain via a specific port. This record therefore is never part of the default DNS settings of a domainname. An example where you would use an SRV record is when you have a 'Teamspeak' or 'Minecraft' server. An SRV record is also necessary to fully utilize all exchange functionalities of 'Office365'. For more information about setting up Office365 for your domainname you can click here.
An SRV record consists of the following parts:
- Priority (similar to how this is used in an MX record)
- Gewicht (here you can specify which record neesd to be used first if you have records with the same priority)
If you use the default TransIP nameservers for your domainname then you can create an SRV record via your controlpanel. You can do this with the following steps:
- Go to 'Domains & Hosting'
- Click on the domainname at the left side. (Do not check the checkbox)
- Scroll down to 'Advanced domain settings'. If these are not enabled yet, you can click on "Enable advanced settings" to enable them.
- Go to 'DNS' where you can create the desired record and save the changes.
When you create a new record you will find 4 fields that need to be filled in. You can fill in the parts of an SRV record in the following way:
- Name: Here you enter the service and the protocol, seperated with a dot inbetween, in this form: service.protocol (For example _sipinternaltls._tcp)
- TTL: 1 day
- Type: SRV
- Value: Here you can enter the priority, weight, port and target of the record, seperated with spaces inbetween. After the target you need to put a dot. (For example 0 5 5060 domain.example.nl.)
- Click on 'Save' after you have made the changes
- The service and the protocol need to be seperated with a dot. Do not put a dot behind the protocol.
- The priority, weight, port and target are only seperated by spaces.
- You should always put a dot behind the target of the record.
This is an example of 2 SRV records:
The second record in the example above indicates that the (SIP)-server can be reached with priority 100, weight 1, port 443 at the location 'sipdir.online.lync.com'.
You can find more information about SRV records and the syntax in the RFC 2782 as described by the IETF.
As soon as you add a new DNS record or make changes to an existing DNS record and click 'Save' these changes will be processed as soon as possible. It can take up to a maximum of 4 to 24 hours before these changes are processed worlwide on the internet. For more information about this you can click here.