Documentation ¶
Index ¶
Constants ¶
View Source
const PluginType = "edns0_filter"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { // Args priority: NoEDNS > Keep > Discard. // If both Keep and Discard is not specified. edns0_filter will // keep no EDNS0 option (discard all EDNS0 options). NoEDNS bool `yaml:"no_edns"` // Remove entire EDNS0 RR. Keep []uint16 `yaml:"accept"` // Only keep those EDNS0 options and discard others. Discard []uint16 `yaml:"discard"` // Only remove those EDNS0 options and keep others. }
type Filter ¶
func (*Filter) Exec ¶
func (s *Filter) Exec(ctx context.Context, qCtx *query_context.Context, next executable_seq.ExecutableChainNode) error
Click to show internal directories.
Click to hide internal directories.