Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.7.0-DNSServer INI Setting(s) #396

Merged

Conversation

RvdHout
Copy link
Contributor

@RvdHout RvdHout commented Oct 4, 2021

Boolean UseDNSCache (not mine, but something Søren Raagaard Rathje created to bypass use of systems dnscache)

String DNSServer
I have a local BIND9 caching en forwarding server, unfortunately Hmailserver by default uses system's default DNS
This setting can be used to supply a single (local) ip4 IP-Address to force Hmailserver to use that DNS server without having to change system default DNS settings

Eg: in my case both hmailserver as spamassassin are configured to use the same local (ubuntu VM) Bind9 DNS caching en forwarding server instance, this way repeating lookups are cached and forwarding rules are shared, there are a few DNSBL's that require this.

/* Disable forwarding for DNSBL queries */

zone "multi.uribl.com" { type forward; forward first; forwarders {}; };
zone "multi.surbl.org" { type forward; forward first; forwarders {}; };
zone "list.dnswl.org" { type forward; forward first; forwarders {}; };
zone "all.spamrats.com" { type forward; forward first; forwarders {}; };
zone "grey.uribl.com" { type forward; forward first; forwarders {}; };
zone "black.uribl.com" { type forward; forward first; forwarders {}; };

Boolean UseDNSCache
String DNSServer
@martinknafve martinknafve merged commit 4845b21 into hmailserver:master Jan 15, 2022
@martinknafve
Copy link
Collaborator

Merged. Thanks. :)

@RvdHout RvdHout deleted the 5.7.0-DNSServer-INI-Setting branch March 16, 2022 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants