-
Notifications
You must be signed in to change notification settings - Fork 48
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
Example how to install and configure a local dns server #128
base: master
Are you sure you want to change the base?
Conversation
If the only purpose is dns caching dnsmasq could be a good option On 2016-03-12 10:11, hotstepper13 wrote:
|
Yeah, I used bind because it is a very common, stable, tested and spread solution have much documentation and setup tutorials around the net. Even with not so well equipped servers, the resource usage difference between bind and a "lightweight" solution shouldn´t be an issue. dnsmasq seems to be a project that makes use of "forward nameservers" which is exactly the opposite of the things we would like to archive. If we use forward servers, the limits againts DNSBL are counted for them and not for our server. With forward Proxy: Without forward: So the rate limits are counted for our server and not for the upstream, allowing us to make use of the full ammount of lookups. |
Originally, I wanted to mention the Workaround for dnsmasq: You can specify the forwarding DNS-servers. On 2016-03-12 10:57, hotstepper13 wrote:
|
yeah but wouldnt that mean that you use the dnsbl for regular dns queries, too? exim uses the default dns server so it is the same for the helo checks, dns lookups and dnsbl. |
Your configuration of bind looks good. @rimas-kudelis what do you think? |
From my understanding, the "Caching" part of the article @Udera linked is supposed to solve the issue of blind forwardingof all queries, isn't it? I mean, when I read "Caching DNS server", I understand that it caches DNS responses for later reuse, doesn't it? Regarding the patch itself: I'm currently all for moving our documentation to the Wiki. This patch clearly doesn't fit that direction, so before merging or closing this, I guess we should agree on which way we go with the docs in general. |
On the one hand, I think the wiki is a great idea as it is easier to read and navigate. On the other hand, it is not part of the repo, so you don't have the docs in your setup.
forget dnsmasq. unbound can be configured to resolve it directly and cache the queries. It's also used in FreeBSD systems by default. |
I think we could include wiki as a git submodule under docs. |
about your /etc/resolv.conf example:
I personally think that bind is a little overkill just as caching DNS. I normally go with dnsmasq. Never tried unbound but i believe it's a good option too. Bind i use only for authoritativ DNS. |
Free DNSBL have often rate limits. Therefore a shared infrastructure might hit these rate limits very fast. To avoid this, setup your own caching DNS server