Skip to content

[FR] can unbound-checkconf be silenced when configuration is valid? #876

Description

@jpmens

Current behavior

unbound-checkconf reports a valid and error-free configuration as

$ unbound-checkconf
unbound-checkconf: no errors in /usr/local/etc/unbound/unbound.conf

I've experienced several people (sadly, including myself!) who've been misled by the word errors in the output.

Can we (maybe optionally) silence the output?

Describe the desired feature

Ideal to me would be if unbound-checkconf were completely silent in good Unix manner, such as BIND's named-checkconf:

$ named-checkconf
$

In comparison, Knot-DNS issues the following diagnostic:

$ knotc conf-check
Configuration is valid

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions