Add MX-record

Bernd Nachtigall bnacht at
Tue Nov 16 16:28:56 UTC 2021


I try to add an MX record for a internal MX-Service. I create a file
host.conf in /etc/unbound/local.d/ with the same rights and owner as the

This file contain a single line:
local-data: "intern. IN MX 10 mail.dom.intern."

The related A and PTR records are in the /etc/unbound/hosts.conf

If I check this with unbound-checkconf, I get the message that there is
a syntax error in the local host file.

How is the correct syntax to create a MX record?


Die normative Kraft des Faktischen
behindert die Entwicklung zum Besseren.

More information about the Unbound-users mailing list