dnsserver

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package dnsserver implements an embedded DNS server that serves Concord's peer membership via SRV and A records. Other Concord nodes query this server to discover the full memberlist, enabling cross-subnet discovery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, memberService *peerdiscovery.MemberService, logger *zap.Logger, addr string) error

Start launches an embedded DNS server that serves Concord peer membership. Empty addr binds to ":"+DNSPort. Bind is checked before return so a second instance fails fast if the port is taken. The server runs until ctx is done.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL