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