dns

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

func WithMaxAnswers

func WithMaxAnswers(maxAnswers int) Option

WithMaxAnswers sets the maximum number of answers to return.

func WithPerUpstreamTimeout

func WithPerUpstreamTimeout(timeout time.Duration) Option

WithPerUpstreamTimeout sets the timeout for each upstream DNS server.

func WithTimeout

func WithTimeout(timeout time.Duration) Option

WithTimeout sets the timeout for the DNS resolver.

type TunnelNodeDNSReconciler

type TunnelNodeDNSReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

TunnelNodeDNSReconciler reconciles TunnelNode objects and implements CoreDNS plugin.

func NewTunnelNodeDNSReconciler

func NewTunnelNodeDNSReconciler(
	client client.Client,
	opts ...Option,
) *TunnelNodeDNSReconciler

NewTunnelNodeDNSReconciler creates a new TunnelNodeDNSReconciler.

func (*TunnelNodeDNSReconciler) Resolver

Resolver returns a plugin.Handler that can be used with the CoreDNS server.

func (*TunnelNodeDNSReconciler) SetupWithManager

func (r *TunnelNodeDNSReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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