We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
SRV Record Format
SRV Record Format
This topic was made before the article in the vesta documentation was made. As from now on, you can find how to configure SRV records at http://vestacp.com/docs/#how-to-configure-srv-records.
Original question:
How do I properly format my SRV records and add these to Vesta?
Answer:
Original question:
How do I properly format my SRV records and add these to Vesta?
Answer:
How to configure Service (SRV) Records
For the typical XMPP infrastructure we will need 3 DNS recods. One "A" record for the server itself and two "SRV" records for service auto-detect. Here are example records:
xmpp 18000 IN A 192.168.1.1
_xmpp-client._tcp.example.com. 18000 IN SRV 0 5 5222 xmpp.example.com.
_xmpp-server._tcp.example.com. 18000 IN SRV 0 5 5269 xmpp.example.com.
To create them, follow these steps:
1. Login in to Control Panel
2. Click on DNS tab
3. Click on "add record" button under example.com
4. Enter xmpp in field "Record"
5. Select type "A"
6. Enter 192.168.1.1 in "IP or Value" textbox
7. Press "Add" button
It was quite simple, insn't it? Well the SRV part is a little bit tricky
1. Login in to Control Panel
2. Click on DNS tab
3. Click on "add record" button under example.com
4. Enter _xmpp-client._tcp in field "Record"
5. Select type "SRV"
6. Enter xmpp.example.com. in "IP or Value" textbox
7. Enter 0 5 5222 in Priority text field 8. Press "Add" button
9. Repeat above steps for _xmpp-server record