To facilitate superslave debugging, in case no backend can be found to host a domain, now output what the remote nameserver supplied as NS records, so you can check.


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2887 d19b8d6e-7fed-0310-83ef-9ca221ded41b
Kees Monshouwer spotted that r2874 broke compilation without sqlite3 and also made query logging nondeterministic. Patch also by Kees.

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2888 d19b8d6e-7fed-0310-83ef-9ca221ded41b
properly initialize the doLog variable for ssqlite3, plus rename it (it is not static)


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2889 d19b8d6e-7fed-0310-83ef-9ca221ded41b
make our pdns_control "show" stats available as JSON via our webinterface, http://127.0.0.1:8081/jstonstat?var1&var2&var3


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2890 d19b8d6e-7fed-0310-83ef-9ca221ded41b
update json functionality, can now also get all stats by requesting /jsonstats


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2891 d19b8d6e-7fed-0310-83ef-9ca221ded41b
doc nit, thanks Mohamed Lrhazi

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2892 d19b8d6e-7fed-0310-83ef-9ca221ded41b
Merge remote-tracking branch 'git-svn'
json helpers commit - not compiled in yet in svn


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2893 d19b8d6e-7fed-0310-83ef-9ca221ded41b
improves json webserver in the auth server, plus compiles in the json helpers for the recursor (which does not have it turned on in this commit)
to turn on json webserver, set 'json-interface' in the configuration.


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2894 d19b8d6e-7fed-0310-83ef-9ca221ded41b
do process single packet pcaps


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2895 d19b8d6e-7fed-0310-83ef-9ca221ded41b
add commented out line for dnsscope to print out all failed/unanswerered queries


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2896 d19b8d6e-7fed-0310-83ef-9ca221ded41b
reorganize getAllStats() so it is helpful for the JSON webserver


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2897 d19b8d6e-7fed-0310-83ef-9ca221ded41b
update pdns.conf-dist

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2898 d19b8d6e-7fed-0310-83ef-9ca221ded41b
include new JSON stuff in recursor tarball & separate build


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2899 d19b8d6e-7fed-0310-83ef-9ca221ded41b
don't relay passwords over JSON, plus hook up hosted domains to JSON in pdns_recursor


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2900 d19b8d6e-7fed-0310-83ef-9ca221ded41b
share pleaseWipeAndCache beyond rec_control


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2901 d19b8d6e-7fed-0310-83ef-9ca221ded41b
implement json log grep (generic)


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2902 d19b8d6e-7fed-0310-83ef-9ca221ded41b
hook up the json log-grep plus change all recursor urls (sorry) and actually parse urls (yay)


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2903 d19b8d6e-7fed-0310-83ef-9ca221ded41b
if you really want to run the json interface to the recursor, you can now do so by setting 'json-interface'.


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2904 d19b8d6e-7fed-0310-83ef-9ca221ded41b
fix up json escaping for domains


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2905 d19b8d6e-7fed-0310-83ef-9ca221ded41b