SRV records

Gandi allows you to add and manage SRV records for domains that use Gandi’s LiveDNS nameservers.

Adding, Editing, and Deleting SRV records

Using the “Text” Mode

For clarity, it is recommended that you use text mode to manage an SRV record in your zonefile (see this page to see how to edit your zone file).

It is very important that the format of the record is correct:

service protocol * TTL IN SRV priority weight port target
_sip. _tcp 86400 IN SRV 0 5 5060

* Do not add the domain after the protocol since we add it to the record automatically by default.

Below is an example of what your SRV line would look like when added to your DNS records in text mode at Gandi:

_sip._tcp 86400 IN SRV 0 5 5060

Using the “Table” Mode

If you chose to use the “Table” interface in order to add/edit/delete an SRV record, below are the values that you will put in the form’s fields:

  • Type: SRV
  • TTL: The desired TTL
  • UNIT The units of the ttl (seconds, minutes, etc.)
  • Name: The service and protocol, separated by a dot (ex. _sip._tcp)
  • Priority: The priority
  • Weight: The weight
  • Port: The port
  • Target: The target, ending with a “.”