DEVELOPMENT ENVIRONMENT

~liljamo/felu-ng

ref: 67561673e438acc5ba1f8b5734705350aa6a8fd0 felu-ng/README.md -rw-r--r-- 1.6 KiB
67561673Jonni Liljamo feat: init 5 days ago

#felu

WIP, ignore for now.

#Crates

#bin

#felu-mgmt

UI for management.

Leptos, not sure about SSR or CSR yet, CSR might be easier. Local accounts to begin with, SSO via OIDC maybe.

Connects to configured felu-ns servers. Health checked connections and retry connections if dropped.

#felu-ns

Nameserver.

Many, hosted as ns1, ns2, nsN, ns9.

Requires a static public IPv4, which is used as the DNS (At least Do53 (Port 53 over UDP and TCP). Possibly DoT, DoH and DoQ in the future) interface.

Optionally the same interface used for DNS can be used as the interface that felu-mgmt connects to for management. Though ideally management is done via a VPN connection (e.g. Tailscale) and not via a public interface.

Completely stateless, receives configuration from felu-mgmt and stores it in memory. Stores nothing to disk.

Built-in HTTP server for things like Prometheus metrics at /metrics.

  • hickory-dns as the DNS library, should support everything needed
  • hyper for HTTP server

#lib

#felu-common

Protobuf definitions and other shared structures.

#Initial notes:

#Communication

Certs!

Protobufs over gRPC or just TCP? Which is easier when we need a stream?

One-way stream? Mgmt sends data to ns, and ns can respond Results to received messages, but not send messages to mgmt.