]> granicus.if.org Git - pdns/commit
Add a 'mustResolve' parameter to newServer()
authorRemi Gacogne <rgacogne-github@coredump.fr>
Thu, 5 Nov 2015 09:47:39 +0000 (10:47 +0100)
committerRemi Gacogne <rgacogne-github@coredump.fr>
Tue, 17 Nov 2015 09:36:09 +0000 (10:36 +0100)
commita6e02424969145a706434c8b3336135ae7446140
tree4d6f79dc3da273cf2a6e9fa481b456e9a129a945
parentad4858964b0672584a2e13f676521169b862accf
Add a 'mustResolve' parameter to newServer()

The default is to consider any response with a rcode different from
Servfail as valid. Passing true to mustResolve requires a rcode different
from NXDomain, Servfail and Refused.
pdns/dnsdist-lua.cc
pdns/dnsdist.cc
pdns/dnsdist.hh