Documentation
¶
Overview ¶
Package dnssec implements a plugin that signs responses on-the-fly using NSEC black lies.
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 ¶
Dnssec signs the reply on-the-fly.
func (Dnssec) Sign ¶
Sign signs the message in state. it takes care of negative or nodata responses. It uses NSEC black lies for authenticated denial of existence. For delegations it will insert DS records and sign those. Signatures will be cached for a short while. By default we sign for 8 days, starting 3 hours ago.
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.