docker-mailserver icon indicating copy to clipboard operation
docker-mailserver copied to clipboard

Deploy Unbound as recursive server - Clarification

Open cmonty14 opened this issue 1 year ago • 2 comments

Hi, I want to deploy Unbound as a recursive server; this is recommended in Rspamd documenation: Therefore, it is strongly advised to employ your own recursive resolver when using Rspamd or any other email-related technology. Our recommended choice is to set up Unbound or, for more advanced setups, the Knot Resolver. You can find basic setup information for Unbound here.

According to documentation the configuration must be different compared to default deployment.

Comparing the config provided by unbound.sh with this example file there's basically this section missing:

    ###########################################################################
    # FORWARD ZONE
    ###########################################################################

    include: /opt/unbound/etc/unbound/forward-records.conf

Is it correct that only this section makes the difference of forwarding (default) vs. recursive?

cmonty14 avatar Feb 01 '24 06:02 cmonty14

This query is about configuring unbound, so it does not pertain to the docker-mailserver project. I suggest you raise this in the proper support channels for unbound (or MatthewVance's container for it).

agittins avatar Feb 03 '24 01:02 agittins

I've already added unbound to the Kubernetes Helm charts and will add unbound as a default in an upcoming release.

jeboehm avatar Apr 14 '25 15:04 jeboehm

unbound is part of docker-mailserver as of 6.0

jeboehm avatar Sep 26 '25 14:09 jeboehm