coredns

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameRewriterResponseRule

type NameRewriterResponseRule struct {
	*RemapStringRewriter
}

NameRewriterResponseRule maps a record name according to a stringRewriter.

func (*NameRewriterResponseRule) RewriteResponse

func (r *NameRewriterResponseRule) RewriteResponse(rr dns.RR)

type RemapStringRewriter

type RemapStringRewriter struct {
	// contains filtered or unexported fields
}

RemapStringRewriter maps a dedicated string to another string it also maps a domain of a subdomain.

func NewRemapStringRewriter

func NewRemapStringRewriter(orig, replacement string) *RemapStringRewriter

type ValueRewriterResponseRule

type ValueRewriterResponseRule struct {
	*RemapStringRewriter
}

ValueRewriterResponseRule maps a record value according to a stringRewriter.

func (*ValueRewriterResponseRule) RewriteResponse

func (r *ValueRewriterResponseRule) RewriteResponse(rr dns.RR)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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