SRV record format
Telnyx SRV records follow RFC 2782 DNS SRV specification:Parameters
Regional FQDNs
Configure SRV records to point to the Telnyx region closest to the user’s infrastructure:
For the most current IP addresses and additional regions, see sip.telnyx.com.
Configuration examples
Basic configuration
Single SRV record pointing to US region:TLS transport
For encrypted SIP signaling on port 5061:Multi-region redundancy
Route to US as primary, EU as secondary:10 (US) is preferred over priority 20 (EU).
Benefits over A records
Verification
Verify the user’s SRV record configuration:DNS provider configuration
Most DNS providers support SRV records through their control panel or API. Common DNS providers:- Route 53 (AWS): Record type “SRV”, value format
10 10 5060 sip.telnyx.com - Cloudflare: Record type “SRV”, configure service, protocol, priority, weight, port, target separately
- Google Cloud DNS: Use
gcloud dns record-sets createwith--type=SRV
Failover behavior
SRV records work with Telnyx automatic failover:- DNS query resolves
sip.telnyx.comto both IP1 and IP2 - SIP INVITE sent to IP1 (primary)
- On timeout or error, retry to IP2 (secondary)
- If all IPs fail, attempt next priority SRV target (if configured)
Troubleshooting
SRV record not resolving:- Verify trailing dot on target FQDN (
sip.telnyx.com.) - Check TTL has expired if you recently updated
- Confirm DNS propagation:
dig @8.8.8.8 _sip._udp.example.com SRV
- Some PBX systems require explicit SRV lookup enablement
- Configure PBX to use domain (
example.com) not IP address - Check PBX logs for DNS query behavior
- Verify equal weight values for balanced distribution
- Some SIP stacks cache first resolved IP
- Consider implementing client-side round-robin