imbra - How to Add an SRV Record in iPanel

SRV (Service) records specify the location of servers for specific services like SIP, XMPP, or LDAP. They include additional fields for port, weight, and priority.

Steps

  1. From the sidebar, click Domains and then click on your domain.

    [screenshot: domains list with domain selected]

  2. Scroll to the DNS Records section and click Add Record.

    [screenshot: add record button]

  3. In the Type dropdown, select SRV.

    [screenshot: type dropdown with SRV selected]

  4. In the Name/Host field, enter the service name in the format _service._protocol (e.g., _sip._tcp).

    [screenshot: name/host field with service format]

  5. In the Value/Points To field, enter the target server hostname (e.g., sipserver.example.com).

    [screenshot: value field with target hostname]

  6. In the Priority field, enter the priority value. Lower numbers are tried first.

    [screenshot: priority field]

  7. In the Weight field, enter a weight value to distribute load between servers with the same priority.

    [screenshot: weight field]

  8. In the Port field, enter the port number the service runs on (e.g., 5060 for SIP).

    [screenshot: port field with example value]

  9. Set the TTL value or leave the default.

    [screenshot: TTL field]

  10. Click Save to create the SRV record.

    [screenshot: save button]

Tip: SRV records follow a strict naming convention. Make sure the service and protocol prefixes start with an underscore (_).

Related Articles