Documentation
¶
Overview ¶
Package edns provides function useful for adding/inspecting OPT records to/in messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSupportedOption ¶ added in v1.3.0
func SetSupportedOption(option uint16)
SetSupportedOption adds an EDNS0 option to the set of options that CoreDNS may copy from a request to an OPT-less response. Plugins typically call this in their setup code to signal support for a custom option.
func SupportedOption ¶ added in v1.3.0
SupportedOption returns true if the option code was explicitly registered.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.