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.
Click to show internal directories.
Click to hide internal directories.