-
Notifications
You must be signed in to change notification settings - Fork 305
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
systemd #67
Comments
That sounds like an interesting plan.
|
I've been looking into this some more. I've sent PR coreos/go-systemd#54 to add UDP support to go-systemd. It looks like both skydns and miekg/dns will need changes. Assuming my PR is accepted, go-systemd will produce 2 slices: server.go |
[ Quoting notifications@github.com in "Re: [skydns] systemd (#67)..." ]
Nice thanks. I think in dns.Server there just needs to be Or can we pull out the absolute minimum from go-systemd and put that in Go dns? /Miek Miek Gieben |
+1 |
We would need |
On socket thought most stuff needs to be in skydns. Preparing a small branch for Go dns that has the important bits for the server. |
Proof of concept in https://github.com/miekg/dns/tree/systemd |
I've created 'systemd' branches for skydns and miekg/dns which demonstrates a working implementation (tested in systemd environment). porjo/skydns@skynetservices:master...systemd Some thoughts:
|
Awesome, when I am back home I'll take a look.
|
I'm fine btw with relying on go-systemd in SkyDNS, its already depending on other coreos packages. |
I've refactored both branches now to (hopefully) make the interface between skydns and dns a bit cleaner: rather than having |
I've refactored the skydns systemd branch in response to @miekg's recent commit to dns/systemd |
It'd be great if skydns supported systemd socket activation. For example, if no
-addr
is specified, then it would check to see if systemd has supplied any sockets, otherwise go with default127.0.0.1:53
.I looked at go-systemd unfortunately it currently only supports TCP sockets, however there is an open issue for UDP support.
The text was updated successfully, but these errors were encountered: