Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSKEY ¶
DNSKEY holds a DNSSEC public and private key used for on-the-fly signing.
func ParseKeyFile ¶
ParseKeyFile read a DNSSEC keyfile as generated by dnssec-keygen or other utilities. It adds ".key" for the public key and ".private" for the private key.
type Dnssec ¶
type Dnssec struct { Next middleware.Handler // contains filtered or unexported fields }
Dnssec signs the reply on-the-fly.
func New ¶
func New(zones []string, keys []*DNSKEY, next middleware.Handler) Dnssec
New returns a new Dnssec.
type ResponseWriter ¶
type ResponseWriter struct { dns.ResponseWriter // contains filtered or unexported fields }
ResponseWriter sign the response on the fly.
func (*ResponseWriter) Hijack ¶
func (d *ResponseWriter) Hijack()
Hijack implements the dns.ResponseWriter interface.
Click to show internal directories.
Click to hide internal directories.