-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any SRV record examples or test cases? #57
Comments
Hi @Elycin, Sorry for the late response. Your code looks fine, but your content is missing priority which should be added at the beginning. Something like: Also see https://doc.powerdns.com/authoritative/appendices/types.html#srv Let me know if that works for you :-) |
That works, thanks for the response!
…On Tue, Dec 29, 2020 at 1:57 AM Robbin Janssen ***@***.***> wrote:
Hi @Elycin <https://github.com/Elycin>,
Sorry for the late response.
Your code looks fine, but your content is missing priority which should be
added at the beginning.
Something like: 0 100 8765 _minecraft._tcp.your_domain.com. where:
0 = priority,
100 = weight
8765 = port
Let me know if that works for your :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AICXTSPUWHJRZCWKW44YPWDSXGRZ7ANCNFSM4VH2ULWQ>
.
|
Perfect! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Detailed description
This is rather a feature request/enhancement on elaborative explanation.
I spent today working with this library and reading through the code, however, I could not find any examples or test cases of mechanisms that explain how
RecordType::SRV
would work.I'm not sure if I should be putting the weight, port, and target in the
content
parameter, or if there's specific keys that I should use?Here's some example mock code I wrote.
Context
I'm currently working on a system that will issue subdomains to people who want them on various domains that I own,
How can it benefit other users?
I've previously worked in the game server hosting industry, where hundreds of thousands of clients create subdomains to easily access their server rather than remembering an IP address. Having a proper way to do this could likely sway some big names in this particular industry rather than leaving Cloudflare as the only viable DNS management option via a CURL request.
eg: In the case of Minecraft,
_minecraft._tcp
Your environment
I don't think is exactly relevant for this request, but...
Thanks in advance.
The text was updated successfully, but these errors were encountered: