coredns/plugin/minimal
Miek Gieben a9aedb79cf
plugin/minimal: fix import path (#4523)
presubmit failing, fix import path.

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-03-16 10:55:21 +01:00
..
minimal.go plugin/minimal: fix import path (#4523) 2021-03-16 10:55:21 +01:00
minimal_test.go plugin/minimal: fix import path (#4523) 2021-03-16 10:55:21 +01:00
README.md auto remove trailing whitespaces 2021-03-15 14:38:14 +00:00
setup.go Added minimal-responses plugin (#4417) 2021-03-15 15:37:55 +01:00
setup_test.go Added minimal-responses plugin (#4417) 2021-03-15 15:37:55 +01:00

minimal

Name

minimal - minimizes size of the DNS response message whenever possible.

Description

The minimal plugin tries to minimize the size of the response. Depending on the response type it removes resource records from the AUTHORITY and ADDITIONAL sections.

Specifically this plugin looks at successful responses (this excludes negative responses, i.e. nodata or name error). If the successful response isn't a delegation only the RRs in the answer section are written to the client.

Syntax

minimal

Examples

Enable minimal responses:

example.org {
    whoami
    forward . 8.8.8.8
    minimal
}

See Also

BIND 9 Configuration Reference