]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
test for async.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jan 2008 09:53:04 +0000 (09:53 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jan 2008 09:53:04 +0000 (09:53 +0000)
git-svn-id: file:///svn/unbound/trunk@896 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testdata/05-asynclook.tpkg [new file with mode: 0644]
util/config_file.c

index fd0c7b4f0ae201b610870c3438cc4da3263cf6ca..f286979dfdf78646b4d2dd96b02a124a9f58be41 100644 (file)
@@ -1,3 +1,7 @@
+25 January 2008: Wouter
+       - added tpkg for asynclook and library use. 
+       - allows localhost to be queried when as a library.
+
 24 January 2008: Wouter
        - tested the cancel() function.
        - asynclook -c (cancel) feature.
diff --git a/testdata/05-asynclook.tpkg b/testdata/05-asynclook.tpkg
new file mode 100644 (file)
index 0000000..92be7cf
Binary files /dev/null and b/testdata/05-asynclook.tpkg differ
index 34fe2d0be24424106c233779ebc7bdca30cccfa4..bb16b610f20bd472888682e231e4373e313e7d92 100644 (file)
@@ -132,6 +132,8 @@ config_create()
        cfg->local_zones = NULL;
        cfg->local_zones_nodefault = NULL;
        cfg->local_data = NULL;
+       cfg->donotquery_localhost = 0; /* allow, so that you can ask a
+               forward nameserver running on localhost */
        if(!(cfg->module_conf = strdup("validator iterator"))) goto error_exit;
        if(!(cfg->val_nsec3_key_iterations = 
                strdup("1024 150 2048 500 4096 2500"))) goto error_exit;