[Pdns-users] pdns forward nested recurse possible?
abubin at gmail.com
Fri Apr 19 09:21:01 UTC 2019
I am just trying to have something simple.
When a client query the pdns recursor server, it will first look at it's
authoritative pdns domains. If non of the domains being queried is in
authoritative then it will shoot to public dns for recurvise query.
dig onedomain.com @pdnsrecursor.server
pdnsrecursor server will forward query to pdns authoritative if nothing
comes back then forward to public dns.
Does it make sense?
On Fri, Apr 19, 2019 at 5:04 PM Nico CARTRON <nicolas at ncartron.org> wrote:
> On 19-Apr-2019 10:48 CEST, <abubin at gmail.com> wrote:
> > Hi,
> > Is it possible to use recursor to forward all queries to pdns
> > server and if that query fails, it will forward all to public DNS such as
> > 188.8.131.52?
> > For example, in my pdns, I have create a domain called mydomain.com and
> > yourdomain.moc.
> > So instead of creating:
> > forward-zones=mydomain=127.0.0.1:5300
> > forward-zones+=yourdomain.moc=127.0.0.1:5300
> > forward-zones-recurse=.=184.108.40.206
> > I would like to create:
> > forward-zones-recurse=.=127.0.0.1:5300
> > forward-zones-recurse+=.=220.127.116.11
> > However, tried second method and it does not work. Please advise.
> Could you explain with more details what you are trying to achieve?
> Sending all the queries you're receiving from the Recursor to an
> server wont' work, as the Auth will only answer for the DNS zones it is
> Google Public DNS is not an Authoritative service, but a recursive one.
> Also, forward-zones-recurse means you are sending requests to a recursive
> server (
> which your PDNS Authoritative is not - hence the fact that this second
> doesn't work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users