SRV (Service) Records are DNS records used to define the location of specific services (e.g., SIP, VoIP, XMPP) for your domain. These records specify the hostname and port for a particular service, making them critical for advanced configurations like chat systems, telephony, or other applications.
Here’s how to manage SRV Records in your OzSpeed hPanel:
Steps to Manage SRV Records in OzSpeed #
Step 1: Log in to OzSpeed hPanel #
- Visit OzSpeed hPanel.
- Enter your credentials and click Log In.
Step 2: Access the DNS Zone Editor #
- On the dashboard, go to the Domains section.
- Select the domain for which you want to manage SRV Records.
- Click Manage DNS or DNS Zone Editor to open the DNS settings.
Step 3: Add a New SRV Record #
- Scroll to the SRV Records section.
- Click on Add Record or Create Record.
- Fill out the required fields:
- Service: Enter the name of the service (e.g.,
_sip
,_xmpp
). - Protocol: Enter the protocol (e.g.,
_tcp
or_udp
). - Name/Host: Specify the subdomain or root domain (e.g.,
@
for root orchat
forchat.example.com
). - Priority: Assign a priority value (lower numbers indicate higher priority).
- Weight: Enter a weight value to distribute traffic across multiple servers (e.g.,
10
). - Port: Specify the port number used by the service (e.g.,
5060
for SIP). - Target: Enter the hostname of the server providing the service (e.g.,
sip.example.com
). - TTL (Time to Live): Set the time for caching the record (e.g.,
300
seconds).
- Service: Enter the name of the service (e.g.,
- Click Save to add the SRV Record.
Step 4: Edit an Existing SRV Record #
- Locate the SRV Record you want to modify.
- Click the Edit button next to the record.
- Update any of the fields (e.g., target, priority, or port).
- Save the changes.
Step 5: Delete an SRV Record #
- Find the SRV Record you want to delete.
- Click Delete next to the record.
- Confirm the deletion.
Example SRV Record #
Service | Protocol | Host/Name | Priority | Weight | Port | Target | TTL |
---|---|---|---|---|---|---|---|
_sip | _tcp | @ | 10 | 5 | 5060 | sip.example.com | 300 |
_xmpp | _udp | chat | 20 | 0 | 5222 | xmpp.example.com | 300 |
Use Cases for SRV Records #
- SIP for VoIP:
- Configure Session Initiation Protocol (SIP) services for voice over IP.
- XMPP Chat:
- Enable Extensible Messaging and Presence Protocol (XMPP) for chat applications.
- Minecraft Server:
- Set up custom Minecraft server configurations.
- Load Balancing:
- Distribute traffic between multiple servers for a single service.
Troubleshooting SRV Records #
- Service Not Working:
- Verify that all SRV Record fields match the service provider’s specifications.
- Ensure the target hostname resolves correctly with an A or CNAME Record.
- Conflicting Records:
- Ensure no duplicate SRV Records exist with overlapping services or protocols.
- Changes Not Reflecting:
- Clear your local DNS cache:
- Windows:
ipconfig /flushdns
. - macOS:
sudo killall -HUP mDNSResponder
.
- Windows:
- Use a DNS propagation tool like dnschecker.org to verify global updates.
- Clear your local DNS cache:
Additional Notes: #
- Backup Settings:
- Always back up your DNS configuration before making significant changes.
- Coordinate with Service Providers:
- Use the exact values provided by your service provider to avoid misconfigurations.
- Allow Propagation:
- SRV Record updates may take up to 24–48 hours to propagate globally.