-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
add the possibility for custom DNS records #1035
Conversation
Hi @christian-heusel, looks sensible :) But we would need integration tests to verify that this works. Could you have a look at them? |
Hey @juanfont could you point me to a PR which does a similar integration test so I get some idea about what I have to modify in order to get a working integration test for this feature? That would be really great! So far I have got myself a working dev environment and spotted some code snippets that I probably have to modify. |
@christian-heusel I left a comment in your branch :) |
@christian-heusel still very much interested into merging this. Could you please add some documentation on the config-example file on how to use this (https://github.com/juanfont/headscale/blob/main/config-example.yaml) and an entry in the CHANGELOG.md? We can leave the integration tests for a later PR. Happy to have a call/chat on them. |
@juanfont Great to hear! Sorry for not getting back to you, I had some quite busy (but very nice) christmas days 🎅🏻 🎄 |
fbe2cab
to
4b2e559
Compare
I now did a first take at the docs, have a look and let me know what you think! |
510c291
to
ee4418b
Compare
@juanfont I also have made a changelog entry 👍🏻 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested some minor style improvements.
@megamorf Thanks for your suggestions and fixes! 🥳 Maybe just as a tip; you can use suggestions as described like so: |
Oh interesting. I've been working with GitHub Enterprise most of the time and haven't seen the feature there. That's a nice way to improve the overall feedback loop, thanks for sharing! |
related to juanfont#762 Co-Authored-By: Jamie Greeff <[email protected]> Signed-off-by: Christian Heusel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This PR adds the code of madjam002@b9f05fc but patched into the correct file as the code location now has been updated.
I have run the latest headscale for the last month with this change and it works great! 🥳
My usecase is serving some internal applications such as
grafana.vpn.my.domain
and a have reverse proxy on the host that correctly maps the requests 👍🏻I would be willing to add documentation, tests and more if needed, just let me know what you think of merging this before I invest the work ^^
related to #762
Also notifying @madjam002 since the code was originally from him 😊