jmuchovej / zerodns Goto Github PK
View Code? Open in Web Editor NEWA ZeroTier-DNS to allow for human-readable names of ZeroTier peers.
Home Page: https://john.muchovej.com/projects/zerodns
License: GNU General Public License v3.0
A ZeroTier-DNS to allow for human-readable names of ZeroTier peers.
Home Page: https://john.muchovej.com/projects/zerodns
License: GNU General Public License v3.0
update-hosts
and update-coredns
every 15 minutesModify Dockerfile
to "export" two images:
jmuchovej/zerodns
achieves this.)Ideally, this can rely on build stages. Unclear if build stages support multiple exports, though.
At worst, this becomes another job in the Docker Builds workflow which uses the latest version of jmuchovej/zerodns
but adds ZeroTier. (i.e. this splits the current Dockerfile
into base.Dockerfile
and with-zerotier.Dockerfile
.)
Please refer to this Discussion.
(Locked to ensure that discussion takes place appropriately.)
While consolidating the Corefile (as below) makes maintenance easy, it seems like it overall slows down connection resolving.
Lines 1 to 10 in 00862d0
I'm not sure if this is because of all the aliases generated (at least 6 per IP address), or if these some kind of timeout to be tweaked. So far, question has been asked on CoreDNS's Discussion board.
Binding to port 53 seems to require CAP_NET_BIND_SERVICE
.
Further, having ZeroTier run within the container appears to require CAP_SYS_ADMIN
and CAP_NET_ADMIN
. Based on my understanding of cap_add
โ CAP_SYS_ADMIN
should include CAP_NET_ADMIN
... but, CAP_SYS_ADMIN
also gets pretty close to root
's capabilities โ which (ideally) isn't necessary.
CAP_SYS_ADMIN
.CAP_NET_ADMIN
.CoreDNS
, strictly.ZeroTier
, strictly.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.