Page 1 of 1

forwarders.conf file request

Posted: 26 Apr 2016 14:02
by irow
I am having trouble making DNS recursion work. Regardless of whether recursion (settings > 4) is turned on, I receive errors that some of my block list lookups are being blocked. As a temporary fix, I turned my Windows DNS server to non-forwarding mode and that solved the block list fails, but the solution is not ideal because Windows DNS servers are about 10 times slower when they are not set to use forwarders.

Will someone please post a working /etc/unbound/conf.d/forwarders.conf file from 3.0.0.9 that I can reference to troubleshoot the problem?

Re: forwarders.conf file request

Posted: 27 Apr 2016 07:47
by pdwalker

Code: Select all

  name: "."
  forward-addr: x.y.z.a
  forward-addr: x.y.z.b
x.y.z.a and x.y.z.b are the ip addresses of my internal, non forwarding, caching dns servers.

Re: forwarders.conf file request

Posted: 27 Apr 2016 14:34
by irow
Thank you. My current file did not have the local DNS servers listed. Here's what I had:

Code: Select all

forward-zone:
  name: "."
  forward-first: yes

Re: forwarders.conf file request

Posted: 27 Apr 2016 15:39
by pdwalker
Is your problem resolved now?

Re: forwarders.conf file request

Posted: 27 Apr 2016 19:39
by irow
Not quite, because what I was hoping to do was avoid having to use a local non-forwarding DNS server for the entire network. I would prefer to have unbound act as an EFA-only caching non-forwarding DNS server, but I'm not sure that's actually how it works when DNS recursion is enabled.