From: Daisuke HIGASHI Date: Fri, 27 Feb 2026 12:37:56 +0000 (+0900) Subject: Documentation CNAME in redirect-type local-zone (#1409) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38e1e3eec3dfea1340ef25128460ac37ea0494e1;p=thirdparty%2Funbound.git Documentation CNAME in redirect-type local-zone (#1409) --- diff --git a/doc/unbound.conf.rst b/doc/unbound.conf.rst index 817ebd317..eb79b47d2 100644 --- a/doc/unbound.conf.rst +++ b/doc/unbound.conf.rst @@ -2665,6 +2665,18 @@ These options are part of the ``server:`` section. redirected, so that users with web browsers cannot access sites with suffix example.com. + A ``CNAME`` record can also be provided via local-data: + + .. code-block:: text + + local-zone: "example.com." redirect + local-data: "example.com. CNAME www.example.org." + + In that case, the ``CNAME`` is resolved and the answer + includes resolved target records as well. + ``CNAME`` resolution is supported only in type ``redirect`` + local-zone. + @@UAHL@unbound.conf.local-zone.type@inform@@ The query is answered normally, same as :ref:`transparent`.