diff --git a/management/templates/custom-dns.html b/management/templates/custom-dns.html index 6ae981d2..b866a357 100644 --- a/management/templates/custom-dns.html +++ b/management/templates/custom-dns.html @@ -124,6 +124,12 @@ curl -d "" --user me@mydomain.com:###### https://{{hostname}}/admin/dns/set/bar. # sets a TXT record using the alternate value syntax curl -d "value=something%20here" --user me@mydomain.com:###### https://{{hostname}}/admin/dns/set/foo.mydomain.com/txt + +# sets a SRV record for the "service" and "protocol" hosted on "target" server +curl -d "" --user me@mydomain.com:###### https://{{hostname}}/admin/dns/set/_service._protocol.{{hostname}}/srv/"priority weight port target" + +# sets a SRV record using the value syntax +curl -d "value=priority weight port target" --user me@mydomain.com:###### https://{{hostname}}/admin/dns/set/_service._protocol.host/srv