pdns

package
v2.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2015 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package pdns provides code to be used with PowerDNS (pdns) as a "pipe backend" CoProcess.

Protocol description: http://downloads.powerdns.com/documentation/html/backends-detail.html#PIPEBACKEND.

Mainly the resolver has to interpret zkns addresses in a way that is helpful for DNS. This involves approximating CNAME/A records when appropriate.

Index

Constants

View Source
const (
	KIND_AXFR = "AXFR" // ignored for now
	KIND_Q    = "Q"
	KIND_PING = "PING"
)

Variables

View Source
var (
	GREETING_ABI_V2 = []byte("HELO\t2")
	GREETING_REPLY  = "OK\tzkns2pdns\n"
	END_REPLY       = "END\n"
	FAIL_REPLY      = "FAIL\n"
)

Functions

func NewPdnsResolver

func NewPdnsResolver(zconn zk.Conn, fqdn, zknsDomain, zkRoot string) *pdns

NewPdnsResolver creates a new PdnsResolver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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