any

Source Home

Enable with
any:github.com/coredns/any

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 {
    whoami
    any
}

A dig +nocmd -p 1053 any example.org +noall +answer now returns:

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

Also See

RFC 8482.