zerozone

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

package zerozone is a coredns plugin that serves Zero Zones.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZeroZoneHandler

type ZeroZoneHandler struct {
	Domain  string
	Fetcher store.Fetcher
	Next    plugin.Handler
}

ZeroZoneHandler implemens that coredns plugin handler.

func (*ZeroZoneHandler) Name

func (h *ZeroZoneHandler) Name() string

func (*ZeroZoneHandler) ServeDNS

func (h *ZeroZoneHandler) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL