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 👍🏻 |
megamorf
left a comment
There was a problem hiding this comment.
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 <jamie@greeff.me> Signed-off-by: Christian Heusel <christian@heusel.eu>
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.domainand 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 😊