| commit | a48bd3c3220063ed6beecf0b36ef6959f79f3790 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Mon Jul 29 17:22:18 2024 +0200 |
| committer | Jan Schär <jan@monogon.tech> | Wed Aug 21 11:10:01 2024 +0000 |
| tree | 980731df4a124623e3785b05be5d61d00e063462 | |
| parent | 75ea9f40ade3ff29fbe3dfca6d93b62e6959ef2b [diff] |
osbase/net/dns/kubernetes: add Kubernetes DNS handler This adds a DNS server handler for Kubernetes DNS service discovery. It is partially based on the CoreDNS Kubernetes plugin. The query handler however is written completely from scratch. The handler in the CoreDNS plugin is very weird; it first handles each query type separately, and generates msg.Service objects which then need to be converted to dns records. The new implementation is much simpler, and also more correct: It handles ANY queries, and follows the rules for NXDOMAIN (If a name is NXDOMAIN for one qtype, it is NXDOMAIN for all qtypes, and subdomains of the name are also NXDOMAIN.) Change-Id: Id1d498ca5384a3b047587ed73e95e4871d82d499 Reviewed-on: https://review.monogon.dev/c/monogon/+/3259 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.