Docker-mailserver: Nameserver inside the container

Created on 4 May 2016  路  7Comments  路  Source: tomav/docker-mailserver

I propose to setup a local full resolving nameserver inside the container in order not to rely only on the server of the host.

Background:

I tried using a whitelist for my postfix configurations (https://www.dnswl.org/), but unfortunately my namerservers are already blocked for quering the whitelist (too many lookups i suppose).

Pretty much the same problem as in here

documentation question waiting for contributor action

All 7 comments

Well, that would defeat the purpose of a mail server. I suggest you create your own compose file and add the dns as a service.

I do agree with @manthis. Note that this can be added in the Wiki to help other users to do it.

@manthis why should this defeat the purpose of a mailserver? Could you clarify your comment a bit?

@diiigle Maybe "defeat" is not appropriate. I mean a DNS server is clearly not in the scope of an email server. So it has no reason to be integrated into the mail server container whose only purpose is to receive/send emails. It's better if it is integrated as a service in a docker compose file and consequently the different features will be better segmented.

@manthis okay, that sounds reasonable to me. I'll do my best and try the docker compose approach.
I'll keep you updated.

Awesome. Thanks @diiigle

Closed due to inactivity. Reopen if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jholster picture jholster  路  4Comments

rwarren picture rwarren  路  4Comments

cottonthread picture cottonthread  路  4Comments

InsOpDe picture InsOpDe  路  4Comments

ShuP1 picture ShuP1  路  4Comments