any

package
v0.5.26 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Name

any - give a minimal response to ANY queries

Description

any basically blocks ANY queries by responding to them with a short HINFO reply. See RFC 8482 for details.

Syntax

any

Examples

example.org {
    any
    whoami
}

A dig +nocmd ANY example.org +noall +answer now returns:

example.org.  8482	IN	HINFO	"ANY obsoleted" "See RFC 8482"

See Also

RFC 8482.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Err added in v0.5.2

func Err(err error) slog.Attr

Types

type Any

type Any int

func (*Any) Err

func (h *Any) Err(err error) error

func (*Any) HandlerFunc

func (a *Any) HandlerFunc(next dns.HandlerFunc) dns.HandlerFunc

func (*Any) Key

func (h *Any) Key() string

Jump to

Keyboard shortcuts

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