]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- add get and set option for harden-below-nxdomain feature.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Jan 2011 12:31:28 +0000 (12:31 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 Jan 2011 12:31:28 +0000 (12:31 +0000)
git-svn-id: file:///svn/unbound/trunk@2377 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/config_file.c

index e993a963d6bcb5412c38b92f4b23104085d975b1..692beb3b28835ba7b3be030cbd51eb90cef7760b 100644 (file)
@@ -1,3 +1,6 @@
+17 January 2011: Wouter
+       - add get and set option for harden-below-nxdomain feature.
+
 14 January 2011: Wouter
        - Fix so a changed NS RRset does not get moved name stuck on old
          server, for type NS the TTL is not increased.
index fccd30868c257a39c2661f895253cc0bca881611..cd2f8503be1f3cd91df2281f44b3e3d224c9ccfd 100644 (file)
@@ -362,6 +362,7 @@ int config_set_option(struct config_file* cfg, const char* opt,
        else S_YNO("harden-short-bufsize:", harden_short_bufsize)
        else S_YNO("harden-large-queries:", harden_large_queries)
        else S_YNO("harden-dnssec-stripped:", harden_dnssec_stripped)
+       else S_YNO("harden-below-nxdomain:", harden_below_nxdomain)
        else S_YNO("harden-referral-path:", harden_referral_path)
        else S_YNO("use-caps-for-id", use_caps_bits_for_id)
        else S_SIZET_OR_ZERO("unwanted-reply-threshold:", unwanted_threshold)
@@ -587,6 +588,7 @@ config_get_option(struct config_file* cfg, const char* opt,
        else O_YNO(opt, "harden-large-queries", harden_large_queries)
        else O_YNO(opt, "harden-glue", harden_glue)
        else O_YNO(opt, "harden-dnssec-stripped", harden_dnssec_stripped)
+       else O_YNO(opt, "harden-below-nxdomain", harden_below_nxdomain)
        else O_YNO(opt, "harden-referral-path", harden_referral_path)
        else O_YNO(opt, "use-caps-for-id", use_caps_bits_for_id)
        else O_DEC(opt, "unwanted-reply-threshold", unwanted_threshold)